From 5e39101766a0a6fcc771077b5f6b0a21abfbdc01 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Thu, 23 Jan 2020 16:25:56 +0900 Subject: Revert last change --- plugin/lsp_settings.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin') diff --git a/plugin/lsp_settings.vim b/plugin/lsp_settings.vim index f729453..344d95e 100644 --- a/plugin/lsp_settings.vim +++ b/plugin/lsp_settings.vim @@ -21,7 +21,7 @@ function! s:executable(cmd) abort let l:paths .= ',' . l:servers_dir . '/' . a:cmd if !has('win32') let l:found = globpath(l:paths, a:cmd) - return !empty(l:found) && executable(l:found) + return !empty(l:found) endif for l:ext in ['.exe', '.cmd', '.bat'] if !empty(globpath(l:paths, a:cmd . l:ext)) -- cgit v1.2.3-54-g00ecf