aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-08 02:10:36 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-08 02:10:36 +0900
commit5e91de8d1e03eab15e741cab325dc08e9851e547 (patch)
treee33f1d9224b300fcd6e34291e704d644db73bb0f /plugin
parente5179f80ff05d39d99b4b1b695cbd127ed522c22 (diff)
downloadvim-lsp-settings-5e91de8d1e03eab15e741cab325dc08e9851e547.tar.gz
vim-lsp-settings-5e91de8d1e03eab15e741cab325dc08e9851e547.tar.bz2
vim-lsp-settings-5e91de8d1e03eab15e741cab325dc08e9851e547.zip
Ignore no-filetype
Diffstat (limited to 'plugin')
-rw-r--r--plugin/lsp_settings.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/lsp_settings.vim b/plugin/lsp_settings.vim
index 5c32064..f8df1df 100644
--- a/plugin/lsp_settings.vim
+++ b/plugin/lsp_settings.vim
@@ -99,6 +99,9 @@ endfunction
function! s:vimlsp_install_server() abort
let l:entry = s:vimlsp_installer()
+ if empty(l:entry)
+ return
+ endif
let l:servers_dir = get(g:, 'lsp_settings_servers_dir', s:servers_dir)
let l:server_install_dir = l:servers_dir . '/' . l:entry[0]
if isdirectory(l:server_install_dir)