Skip to content

Commit

Permalink
update default g:easycomplete_tabnine_suggestion = 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jayli committed Dec 4, 2023
1 parent 1fb99a9 commit c957d85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ Vim-EasyComplete does not support snippets by default. If you want snippet integ

> [Solution of "E319: No python3 provider found" Error in neovim 0.4.4 with ultisnips](https://github.com/jayli/vim-easycomplete/issues/171)
#### TabNine Support
#### AI Coding via TabNine Support

Install TabNine: `:InstallLspServer tabnine`. Then restart your vim/nvim.

Expand All @@ -244,9 +244,9 @@ let g:easycomplete_tabnine_config = {
\ }
```

By default, an API key is not required to use TabNine in vim-easycomplete. If you have a Tabnine's Pro API key or purchased a subscription license. To configure, you'll need to use the [TabNine' magic string](https://www.tabnine.com/faq#special_commands). Type `Tabnine::config` in insert mode to open the configuration panel.
TabNine works well without APIKey. If you have a Tabnine's Pro API key or purchased a subscription license. To configure, you'll need to use the [TabNine' magic string](https://www.tabnine.com/faq#special_commands). Type `Tabnine::config` in insert mode to open the configuration panel.

Inline suggestion is supported by TabNine in nvim via `let g:easycomplete_tabnine_suggestion = 1`.
Disable TabNine inline suggestion: `let g:easycomplete_tabnine_suggestion = 0`.

---------------------

Expand Down
2 changes: 1 addition & 1 deletion plugin/easycomplete.vim
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ let g:easycomplete_kindflag_tabnine = empty(easycomplete#util#get(g:easycomplete
\ "" : easycomplete#util#get(g:easycomplete_menu_skin, "tabnine", "kind")

if !exists("g:easycomplete_tabnine_suggestion")
let g:easycomplete_tabnine_suggestion = 0
let g:easycomplete_tabnine_suggestion = 1
endif
if !exists("g:easycomplete_lsp_checking")
let g:easycomplete_lsp_checking = 1
Expand Down

0 comments on commit c957d85

Please sign in to comment.