diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-15 23:08:26 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-15 23:08:26 +0900 |
commit | 5d9e059405ee54fe19322ee9d1544c32c9ffe7cc (patch) | |
tree | 9a555c985bc8b9d162443020e114336dd23ef972 /autoload | |
parent | cdde3484d4dd143f2f8f13b26f2c72d5a2a7522e (diff) | |
download | vim-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.vim | 3 |
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 |