From 7893f2d820fcd792b2f69ff2fccf732d4a353db4 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Mon, 16 Dec 2019 01:14:01 +0900 Subject: Fix a bug --- autoload/lsp_settings.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-54-g00ecf