diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-16 01:14:01 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-16 01:14:01 +0900 |
commit | 7893f2d820fcd792b2f69ff2fccf732d4a353db4 (patch) | |
tree | 75cdfcb24597bc10651c1ce0748213161bc4315e /autoload/lsp_settings.vim | |
parent | 64ae4c65693839224b78a0ceccad792d9b9308a8 (diff) | |
download | vim-lsp-settings-7893f2d820fcd792b2f69ff2fccf732d4a353db4.tar.gz vim-lsp-settings-7893f2d820fcd792b2f69ff2fccf732d4a353db4.tar.bz2 vim-lsp-settings-7893f2d820fcd792b2f69ff2fccf732d4a353db4.zip |
Fix a bug
Diffstat (limited to 'autoload/lsp_settings.vim')
-rw-r--r-- | autoload/lsp_settings.vim | 2 |
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) |