aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-15 23:08:26 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-15 23:08:26 +0900
commit5d9e059405ee54fe19322ee9d1544c32c9ffe7cc (patch)
tree9a555c985bc8b9d162443020e114336dd23ef972 /autoload
parentcdde3484d4dd143f2f8f13b26f2c72d5a2a7522e (diff)
downloadvim-lsp-settings-5d9e059405ee54fe19322ee9d1544c32c9ffe7cc.tar.gz
vim-lsp-settings-5d9e059405ee54fe19322ee9d1544c32c9ffe7cc.tar.bz2
vim-lsp-settings-5d9e059405ee54fe19322ee9d1544c32c9ffe7cc.zip
Add setting
Diffstat (limited to 'autoload')
-rw-r--r--autoload/lsp_settings.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/autoload/lsp_settings.vim b/autoload/lsp_settings.vim
index 681caa3..c14166e 100644
--- a/autoload/lsp_settings.vim
+++ b/autoload/lsp_settings.vim
@@ -19,6 +19,9 @@ function! lsp_settings#exec_path(cmd) abort
return a:cmd
endif
let l:paths = get(g:, 'lsp_settings_extra_paths', '')
+ if type(l:paths) == type([])
+ let l:paths = join(l:paths, ',')
+ endif
if !has('win32')
return !empty(globpath(l:paths, a:cmd))
endif