aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-20 00:18:27 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-20 00:18:27 +0900
commit0e71903b66fdf01d0386ba1b653174dfcec7f21c (patch)
treeae9f1f38e8b902a5cfe6cd09692025d77d03fce8 /autoload
parente55fa57320b284eb38392a5e57b2edee27d966a5 (diff)
downloadvim-lsp-settings-0e71903b66fdf01d0386ba1b653174dfcec7f21c.tar.gz
vim-lsp-settings-0e71903b66fdf01d0386ba1b653174dfcec7f21c.tar.bz2
vim-lsp-settings-0e71903b66fdf01d0386ba1b653174dfcec7f21c.zip
Fix root_uri_patterns
Diffstat (limited to 'autoload')
-rw-r--r--autoload/lsp_settings.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/autoload/lsp_settings.vim b/autoload/lsp_settings.vim
index 9183069..fc6282b 100644
--- a/autoload/lsp_settings.vim
+++ b/autoload/lsp_settings.vim
@@ -345,15 +345,15 @@ function! s:vim_lsp_suggest_plugin() abort
let l:ext = expand('%:e')
for l:ft in keys(s:settings)
for l:server in s:settings[l:ft]
- if !has_key(l:server, 'vim-plugin')
+ if !has_key(l:server, 'vim_plugin')
continue
endif
- if index(l:server['vim-plugin']['extensions'], l:ext) == -1
+ if index(l:server['vim_plugin']['extensions'], l:ext) == -1
continue
endif
redraw
echohl Directory
- echomsg printf('Please install vim-plugin "%s" to enable Language Server', l:server['vim-plugin']['name'])
+ echomsg printf('Please install vim-plugin "%s" to enable Language Server', l:server['vim_plugin']['name'])
echohl None
return
endfor