1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:30:07 +08:00
SpaceVim/bundle/deoplete-lsp/autoload/deoplete/lsp.vim
2021-10-05 15:13:10 +08:00

22 lines
516 B
VimL
Vendored

"=============================================================================
" FILE: lsp.vim
" License: MIT license
"=============================================================================
function! deoplete#lsp#enable() abort
if has('vim_starting')
augroup deoplete#lsp
autocmd!
autocmd VimEnter * call deoplete#lsp#enable()
augroup END
return 1
endif
if deoplete#lsp#init#_is_handler_enabled()
return 1
endif
return deoplete#lsp#init#_enable_handler()
endfunction