Skip to content

Commit 1e33c60

Browse files
committed
bugfix
1 parent c5283ad commit 1e33c60

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ use { 'jayli/vim-easycomplete', requires = {'SirVer/ultisnips'}}
3131
-- Tabnine aicoding support, default is 1
3232
-- You should install tabnine first by ":InstallLspServer tabnine"
3333
vim.g.easycomplete_tabnine_enable = 1
34-
-- Tabnine coding suggestion, default is 1
35-
vim.g.easycomplete_tabnine_suggestion = 1
34+
-- Tabnine coding suggestion, default is 0
35+
vim.g.easycomplete_tabnine_suggestion = 0
3636
-- Using nerdfont for lsp icons, default is 0
3737
vim.g.easycomplete_nerd_font = 1
3838
-- Add window border for pum, default is 1 (for nvim 0.11 or higher)
@@ -56,8 +56,8 @@ Plug 'SirVer/ultisnips'
5656
" Tabnine aicoding support, default is 1
5757
" You should install tabnine first by ":InstallLspServer tabnine"
5858
let g:easycomplete_tabnine_enable = 1
59-
" Tabnine coding suggestion, default is 1
60-
let g:easycomplete_tabnine_suggestion = 1
59+
" Tabnine coding suggestion, default is 0
60+
let g:easycomplete_tabnine_suggestion = 0
6161
" Using nerdfont for lsp icons, default is 0
6262
let g:easycomplete_nerd_font = 1
6363
" Add window border for pum, default is 1 (for nvim 0.11 or higher)
@@ -117,7 +117,7 @@ Global configurations:
117117
| `g:easycomplete_menu_skin` | `{}` | Menu skin. |
118118
| `g:easycomplete_sign_text` | `{}` | Sign icons. |
119119
| `g:easycomplete_lsp_type_font` | ... | lsp icons configuration |
120-
| `g:easycomplete_tabnine_suggestion` | 1 | Tabnine inline suggestion(for nvim only) |
120+
| `g:easycomplete_tabnine_suggestion` | 0 | Tabnine inline suggestion(for nvim only) |
121121
| `g:easycomplete_lsp_checking` | 1 | Check whether the lsp is installed while opening a file |
122122
| `g:easycomplete_tabnine_enable` | 1 | Enable Tabnine |
123123
| `g:easycomplete_directory_enable` | 1 | Directory complete |
@@ -254,7 +254,7 @@ let g:easycomplete_tabnine_config = {
254254

255255
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.
256256

257-
Disable TabNine inline suggestion: `let g:easycomplete_tabnine_suggestion = 0`.
257+
Enable TabNine inline suggestion: `let g:easycomplete_tabnine_suggestion = 1`.
258258

259259
---------------------
260260

plugin/easycomplete.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ if !exists("g:easycomplete_fuzzymatch_hlgroup")
106106
let g:easycomplete_fuzzymatch_hlgroup = ""
107107
endif
108108
if !exists("g:easycomplete_tabnine_suggestion")
109-
let g:easycomplete_tabnine_suggestion = 1
109+
let g:easycomplete_tabnine_suggestion = 0
110110
endif
111111
if !exists("g:easycomplete_lsp_checking")
112112
let g:easycomplete_lsp_checking = 1

0 commit comments

Comments
 (0)