aboutsummaryrefslogtreecommitdiff
path: root/autoload/lsp_settings.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/lsp_settings.vim')
-rw-r--r--autoload/lsp_settings.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/lsp_settings.vim b/autoload/lsp_settings.vim
index d409070..d681b01 100644
--- a/autoload/lsp_settings.vim
+++ b/autoload/lsp_settings.vim
@@ -48,9 +48,9 @@ function! lsp_settings#exec_path(cmd) abort
let l:paths = get(g:, 'lsp_settings_extra_paths', '')
if type(l:paths) == type([])
- let l:paths = join(l:paths, ',')
+ let l:paths = join(l:paths, ',') . ','
endif
- let l:paths .= ',' . s:servers_dir . '/' . a:cmd
+ let l:paths .= s:servers_dir . '/' . a:cmd
if !has('win32')
return s:first_one(globpath(l:paths, a:cmd))
endif