aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-23 16:25:56 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-23 16:25:56 +0900
commit5e39101766a0a6fcc771077b5f6b0a21abfbdc01 (patch)
tree8d72ceb226ee080d9ba20b8b76c06dab8fd4ebd3 /plugin
parenta661caa1d3746c953f70e999d1384c40beb17663 (diff)
downloadvim-lsp-settings-5e39101766a0a6fcc771077b5f6b0a21abfbdc01.tar.gz
vim-lsp-settings-5e39101766a0a6fcc771077b5f6b0a21abfbdc01.tar.bz2
vim-lsp-settings-5e39101766a0a6fcc771077b5f6b0a21abfbdc01.zip
Revert last change
Diffstat (limited to 'plugin')
-rw-r--r--plugin/lsp_settings.vim2
1 files changed, 1 insertions, 1 deletions
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))