diff --git a/clients/vim/CHANGELOG.md b/clients/vim/CHANGELOG.md index 348faee487b2..28117ac15ad7 100644 --- a/clients/vim/CHANGELOG.md +++ b/clients/vim/CHANGELOG.md @@ -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 `` key to input unexpected characters when fallback to another plugin script. + ## 1.0.2 ### Fixes: diff --git a/clients/vim/autoload/tabby/commands.vim b/clients/vim/autoload/tabby/commands.vim index a6bf3a2ae8c1..837d8357aafd 100644 --- a/clients/vim/autoload/tabby/commands.vim +++ b/clients/vim/autoload/tabby/commands.vim @@ -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 diff --git a/clients/vim/autoload/tabby/globals.vim b/clients/vim/autoload/tabby/globals.vim index 8923022c30fc..75662fa9cb1b 100644 --- a/clients/vim/autoload/tabby/globals.vim +++ b/clients/vim/autoload/tabby/globals.vim @@ -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 \ No newline at end of file diff --git a/clients/vim/doc/tabby.txt b/clients/vim/doc/tabby.txt index 2f7b160add5f..9d1e51f2dbc3 100644 --- a/clients/vim/doc/tabby.txt +++ b/clients/vim/doc/tabby.txt @@ -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. diff --git a/clients/vim/package.json b/clients/vim/package.json index 004bd55e9a94..5001cf1f815d 100644 --- a/clients/vim/package.json +++ b/clients/vim/package.json @@ -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": {