mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
fix
This commit is contained in:
@@ -657,6 +657,7 @@ function! lsp_settings#init() abort
|
|||||||
command! -bang -nargs=? -complete=customlist,lsp_settings#complete_install LspInstallServer call s:vim_lsp_install_server(&l:filetype, <q-args>, '<bang>')
|
command! -bang -nargs=? -complete=customlist,lsp_settings#complete_install LspInstallServer call s:vim_lsp_install_server(&l:filetype, <q-args>, '<bang>')
|
||||||
call s:vim_lsp_load_or_suggest('_')
|
call s:vim_lsp_load_or_suggest('_')
|
||||||
|
|
||||||
|
doautocmd BufNewFile,BufEnter
|
||||||
for l:buf in range(1, bufnr('$'))
|
for l:buf in range(1, bufnr('$'))
|
||||||
if !bufexists(l:buf) || !bufloaded(l:buf)
|
if !bufexists(l:buf) || !bufloaded(l:buf)
|
||||||
continue
|
continue
|
||||||
|
|||||||
@@ -16,8 +16,7 @@ command! -nargs=? LspSettingsLocalEdit call lsp_settings#profile#edit_local(<f-a
|
|||||||
command! -nargs=0 LspSettingsGlobalEdit call lsp_settings#profile#edit_global()
|
command! -nargs=0 LspSettingsGlobalEdit call lsp_settings#profile#edit_global()
|
||||||
command! -nargs=0 LspManageServers call lsp_settings#ui#open()
|
command! -nargs=0 LspManageServers call lsp_settings#ui#open()
|
||||||
|
|
||||||
"augroup vim_lsp_settings_initialize
|
augroup vim_lsp_settings_initialize
|
||||||
" au!
|
au!
|
||||||
" autocmd VimEnter * call lsp_settings#init()
|
autocmd VimEnter * call lsp_settings#init()
|
||||||
"augroup END
|
augroup END
|
||||||
call lsp_settings#init()
|
|
||||||
|
|||||||
Reference in New Issue
Block a user