diff options
-rw-r--r-- | plugin/lsp_settings.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/lsp_settings.vim b/plugin/lsp_settings.vim index c4b93ef..58aa100 100644 --- a/plugin/lsp_settings.vim +++ b/plugin/lsp_settings.vim @@ -257,7 +257,7 @@ function! s:vim_lsp_load_or_suggest(ft) abort let l:found = 0 for l:server in s:settings[a:ft] - if get(l:server, 'disabled', 0) || s:vim_lsp_settings_get(l:server.command, 'disabled', 0) + if s:vim_lsp_settings_get(l:server.command, 'disabled', get(l:server, 'disabled', 0)) continue endif let l:default = get(g:, 'lsp_settings_' . a:ft, '') |