diff --git a/vim/vim/pack/kite/start/vim-plugin/README.md b/vim/vim/pack/kite/start/vim-plugin/README.md index 182a10e..f261715 100644 --- a/vim/vim/pack/kite/start/vim-plugin/README.md +++ b/vim/vim/pack/kite/start/vim-plugin/README.md @@ -151,7 +151,7 @@ let g:kite_documentation_continual=1 - `KiteOpenCopilot` - open the Kite Copilot and focus on it. - `KiteGeneralSettings` - open Kite's settings in the Copilot. - `KitePermissions` - open Kite's permission settings in the Copilot. -- `KiteHelp` - show overview documentation. +- `KiteTutorial` - show a tutorial for how to use Kite with Vim. - `KiteEnableAutoStart` - start Kite automatically when Vim starts. - `KiteDisableAutoStart` - do not start Kite automatically when Vim starts. diff --git a/vim/vim/pack/kite/start/vim-plugin/VERSION b/vim/vim/pack/kite/start/vim-plugin/VERSION index 4ad595c..f133985 100644 --- a/vim/vim/pack/kite/start/vim-plugin/VERSION +++ b/vim/vim/pack/kite/start/vim-plugin/VERSION @@ -1 +1 @@ -1.0.42 +1.0.49 diff --git a/vim/vim/pack/kite/start/vim-plugin/plugin/kite.vim b/vim/vim/pack/kite/start/vim-plugin/plugin/kite.vim index 1e60a5f..1983232 100644 --- a/vim/vim/pack/kite/start/vim-plugin/plugin/kite.vim +++ b/vim/vim/pack/kite/start/vim-plugin/plugin/kite.vim @@ -39,6 +39,10 @@ if !exists('g:kite_long_timeout') let g:kite_long_timeout = 400 " ms endif +if !exists('g:kite_completion_max_width') + let g:kite_completion_max_width = 75 +endif + if !(has('nvim') || has('job')) call kite#utils#warn('disabled - requires nvim or vim with the +job feature') finish @@ -57,6 +61,7 @@ endif augroup Kite autocmd! autocmd BufEnter * call kite#bufenter() + autocmd VimEnter * nested if &filetype !~# '^git' | call kite#onboarding#call(0) | endif augroup END @@ -66,7 +71,7 @@ command! KiteDocsAtCursor call kite#docs#docs() command! KiteOpenCopilot call kite#client#copilot() command! KiteGeneralSettings call kite#client#settings() command! KitePermissions call kite#client#permissions() -command! KiteHelp call kite#utils#generate_help() | help kite +command! KiteTutorial call kite#onboarding#call(1) command! KiteDisableAutoStart call kite#disable_auto_start() command! KiteEnableAutoStart call kite#enable_auto_start() command! KiteShowPopularPatterns call kite#signature#show_popular_patterns()