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.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/lsp_settings.vim b/autoload/lsp_settings.vim
index 1128944..a9cead0 100644
--- a/autoload/lsp_settings.vim
+++ b/autoload/lsp_settings.vim
@@ -26,7 +26,7 @@ function! lsp_settings#exec_path(cmd) abort
endif
let l:paths .= ',' . s:servers_dir . '/' . a:cmd
if !has('win32')
- return !empty(globpath(l:paths, a:cmd))
+ return globpath(l:paths, a:cmd)
endif
let l:path = globpath(l:paths, a:cmd . '.exe')
if !empty(l:path)