1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-13 02:05:40 +08:00

docs(complete): update doc of autocomplete_method

This commit is contained in:
wsdjeg 2022-04-13 13:24:05 +08:00
parent 52ad8ca22a
commit 0700fc2622
3 changed files with 6 additions and 2 deletions

View File

@ -350,6 +350,8 @@ if (has('python3')
" <
"
" and you can alse set this option to coc, then coc.nvim will be used.
" If you are using neovim, you can also set this option to `nvim-cmp`, then
" nvim-cmp will be used.
""
" Set the autocomplete engine of spacevim, the default logic is:

View File

@ -102,7 +102,7 @@ function! SpaceVim#layers#autocomplete#plugins() abort
\ 'merged' : 0,
\ 'loadconf' : 1,
\ }])
if g:spacevim_snippet_engine ==# 'neocomplete'
if g:spacevim_snippet_engine ==# 'neosnippet'
call add(plugins, [g:_spacevim_root_dir . 'bundle/cmp-neosnippet', {
\ 'merged' : 0,
\ }])

View File

@ -306,7 +306,9 @@ Set the autocomplete engine of spacevim, the default logic is:
endif
<
and you can alse set this option to coc, then coc.nvim will be used.
and you can alse set this option to coc, then coc.nvim will be used. If you
are using neovim, you can also set this option to `nvim-cmp`, then nvim-cmp
will be used.
==============================================================================
AUTOCOMPLETE_PARENS *SpaceVim-options-autocomplete_parens*