aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-25 13:43:21 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-25 13:43:21 +0900
commite624f88cd399e09693d0bae68589c961a4f94a34 (patch)
tree5c7f2c7d259152de424f59a9a0bd6af9816b1029
parent0f97d334955d9568e6cc626458af113263862765 (diff)
downloadvim-lsp-settings-e624f88cd399e09693d0bae68589c961a4f94a34.tar.gz
vim-lsp-settings-e624f88cd399e09693d0bae68589c961a4f94a34.tar.bz2
vim-lsp-settings-e624f88cd399e09693d0bae68589c961a4f94a34.zip
Fix exec_path
-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