diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-23 22:58:06 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-23 22:58:06 +0900 |
commit | 4eccf3e86c7399be892d6e25bf253e33fa28a9e5 (patch) | |
tree | 0c98ddd762c3fbbd4a6ce5aa0501de40f40ce683 /plugin | |
parent | 5e39101766a0a6fcc771077b5f6b0a21abfbdc01 (diff) | |
download | vim-lsp-settings-4eccf3e86c7399be892d6e25bf253e33fa28a9e5.tar.gz vim-lsp-settings-4eccf3e86c7399be892d6e25bf253e33fa28a9e5.tar.bz2 vim-lsp-settings-4eccf3e86c7399be892d6e25bf253e33fa28a9e5.zip |
Add some LSP but work in progress.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/lsp_settings.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/lsp_settings.vim b/plugin/lsp_settings.vim index 344d95e..264aa1f 100644 --- a/plugin/lsp_settings.vim +++ b/plugin/lsp_settings.vim @@ -204,6 +204,10 @@ function! s:vimlsp_load_or_suggest(ft) abort if s:vimlsp_settings_get(l:server.command, 'disabled', 0) continue endif + let l:default = get(g:, 'lsp_settings_' . a:ft, '') + if !empty(l:default) && l:default != l:server.command + continue + endif let l:command = s:vimlsp_settings_get(l:server.command, 'cmd', l:server.command) if type(l:command) == type([]) let l:command = l:command[0] |