From 5d9e059405ee54fe19322ee9d1544c32c9ffe7cc Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Sun, 15 Dec 2019 23:08:26 +0900 Subject: Add setting --- autoload/lsp_settings.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'autoload') 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 -- cgit v1.2.3-54-g00ecf