aboutsummaryrefslogtreecommitdiff
path: root/settings/digestif.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-27 17:34:22 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-27 17:34:22 +0900
commit84168077a7a1783e03f177e3d044fde7858fce7d (patch)
tree0a2685a9316e665d974c881ebdbb66f991c52d59 /settings/digestif.vim
parente1198d7f03ca64021a5dd76a859df789408f650c (diff)
downloadvim-lsp-settings-84168077a7a1783e03f177e3d044fde7858fce7d.tar.gz
vim-lsp-settings-84168077a7a1783e03f177e3d044fde7858fce7d.tar.bz2
vim-lsp-settings-84168077a7a1783e03f177e3d044fde7858fce7d.zip
Add digestif
Diffstat (limited to 'settings/digestif.vim')
-rw-r--r--settings/digestif.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/settings/digestif.vim b/settings/digestif.vim
new file mode 100644
index 0000000..7e29442
--- /dev/null
+++ b/settings/digestif.vim
@@ -0,0 +1,13 @@
+augroup vimlsp_settings_digestif
+ au!
+ LspRegisterServer {
+ \ 'name': 'digestif',
+ \ 'cmd': {server_info->lsp_settings#get('digestif', 'cmd', [lsp_settings#exec_path('digestif')])},
+ \ 'root_uri':{server_info->lsp_settings#get('digestif', 'root_uri', lsp_settings#root_uri(['.git/']))},
+ \ 'initialization_options': lsp_settings#get('digestif', 'initialization_options', {"diagnostics": "true"}),
+ \ 'whitelist': lsp_settings#get('digestif', 'whitelist', ['plaintex', 'tex']),
+ \ 'blacklist': lsp_settings#get('digestif', 'blacklist', []),
+ \ 'config': lsp_settings#get('digestif', 'config', {}),
+ \ 'workspace_config': lsp_settings#get('digestif', 'workspace_config', {}),
+ \ }
+augroup END