Skip to content

Commit

Permalink
feat(vim): chore bump vim plugin version to 1.1.0 (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
icycodes authored Nov 19, 2023
1 parent 30864df commit 54b146e
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 2 deletions.
16 changes: 16 additions & 0 deletions clients/vim/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## 1.1.0

### Features:

- Updated the config.toml file to include new configuration options: `server.auth` and `completion.timeout`.
- Added a command `:Tabby version` to print the current version of Tabby plugin.
- Added experimental features aimed at fine-tuning completion quality. These features are disabled by default but can be enabled by setting the corresponding config flag to `true` in the `config.toml` file, include:
- `completion.prompt.experimentalStripAutoClosingCharacters`: Strip auto-closing brackets and quotes in prompt suffix, to generate more lines in FIM mode.
- `postprocess.limitScope.indentation.experimentalKeepBlockScopeWhenCompletingLine`: Use the block scope instead of line scope when using indentation to limit the completion scope and the completion is continuing the current line.
- `postprocess.limitScope.experimentalSyntax`: Use syntax parser to limit the completion scope.
- `postprocess.calculateReplaceRange.experimentalSyntax`: Use syntax parser to calculate the completion replace range, to avoid duplicated auto-closing brackets and quotes.

### Fixes:

- Fixed a bug causing the `<Tab>` key to input unexpected characters when fallback to another plugin script.

## 1.0.2

### Fixes:
Expand Down
4 changes: 4 additions & 0 deletions clients/vim/autoload/tabby/commands.vim
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ function! s:commands.auth(...)
call tabby#Auth()
endfunction

function! s:commands.version(...)
echo g:tabby_version
endfunction

function! s:commands.help(...)
let args = get(a:, 1, [])
if len(args) < 1
Expand Down
2 changes: 1 addition & 1 deletion clients/vim/autoload/tabby/globals.vim
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ function! tabby#globals#Load()


" Version of Tabby plugin. Not configurable.
let g:tabby_version = "1.0.2"
let g:tabby_version = "1.1.0"
endfunction
2 changes: 2 additions & 0 deletions clients/vim/doc/tabby.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Commands~
*:Tabby-status*
:Tabby status Check the status of Tabby. Report error message if any
issue exists.
*:Tabby-version*
:Tabby version Print the version of Tabby plugin.
*:Tabby-auth*
:Tabby auth Start to complete the authentication process. Only used
when you are using a Tabby Cloud endpoint.
Expand Down
2 changes: 1 addition & 1 deletion clients/vim/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vim-tabby",
"version": "1.0.2",
"version": "1.1.0",
"description": "Vim plugin for Tabby AI coding assistant.",
"repository": "https://github.com/TabbyML/tabby",
"scripts": {
Expand Down

0 comments on commit 54b146e

Please sign in to comment.