diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-08 02:10:36 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-08 02:10:36 +0900 |
commit | 5e91de8d1e03eab15e741cab325dc08e9851e547 (patch) | |
tree | e33f1d9224b300fcd6e34291e704d644db73bb0f /plugin | |
parent | e5179f80ff05d39d99b4b1b695cbd127ed522c22 (diff) | |
download | vim-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.vim | 3 |
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) |