aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-24 22:59:44 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-24 22:59:44 +0900
commit6df097286f96be0d4aade9edb9d2390e34a3e070 (patch)
tree7f3940622face0f4626f3c2a4f11fb0ea0e66e8b /plugin
parentb04982423e4bada1c0fa51393a07d30257fa8ca9 (diff)
downloadvim-lsp-settings-6df097286f96be0d4aade9edb9d2390e34a3e070.tar.gz
vim-lsp-settings-6df097286f96be0d4aade9edb9d2390e34a3e070.tar.bz2
vim-lsp-settings-6df097286f96be0d4aade9edb9d2390e34a3e070.zip
Add json schema
Diffstat (limited to 'plugin')
-rw-r--r--plugin/lsp_settings.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/lsp_settings.vim b/plugin/lsp_settings.vim
index 72a8729..7c3787e 100644
--- a/plugin/lsp_settings.vim
+++ b/plugin/lsp_settings.vim
@@ -17,6 +17,8 @@ let s:servers_dir = expand('<sfile>:h:h').'/servers'
let s:settings = json_decode(join(readfile(expand('<sfile>:h:h').'/settings.json'), "\n"))
let s:ftmap = {}
+call remove(s:settings, '$schema')
+
function! s:executable(cmd) abort
if executable(a:cmd)
return 1