aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
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