aboutsummaryrefslogtreecommitdiff
path: root/settings/monastery.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-23 22:58:06 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-23 22:58:06 +0900
commit4eccf3e86c7399be892d6e25bf253e33fa28a9e5 (patch)
tree0c98ddd762c3fbbd4a6ce5aa0501de40f40ce683 /settings/monastery.vim
parent5e39101766a0a6fcc771077b5f6b0a21abfbdc01 (diff)
downloadvim-lsp-settings-4eccf3e86c7399be892d6e25bf253e33fa28a9e5.tar.gz
vim-lsp-settings-4eccf3e86c7399be892d6e25bf253e33fa28a9e5.tar.bz2
vim-lsp-settings-4eccf3e86c7399be892d6e25bf253e33fa28a9e5.zip
Add some LSP but work in progress.
Diffstat (limited to 'settings/monastery.vim')
-rw-r--r--settings/monastery.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/settings/monastery.vim b/settings/monastery.vim
new file mode 100644
index 0000000..0f03371
--- /dev/null
+++ b/settings/monastery.vim
@@ -0,0 +1,13 @@
+augroup vimlsp_settings_monastery
+ au!
+ LspRegisterServer {
+ \ 'name': 'monastery',
+ \ 'cmd': {server_info->lsp_settings#get('monastery', 'cmd', [lsp_settings#exec_path('monastery')])},
+ \ 'root_uri':{server_info->lsp_settings#get('monastery', 'root_uri', lsp_settings#root_uri(['.git/']))},
+ \ 'initialization_options': lsp_settings#get('monastery', 'initialization_options', v:null),
+ \ 'whitelist': lsp_settings#get('monastery', 'whitelist', ['perl']),
+ \ 'blacklist': lsp_settings#get('monastery', 'blacklist', []),
+ \ 'config': lsp_settings#get('monastery', 'config', {}),
+ \ 'workspace_config': lsp_settings#get('monastery', 'workspace_config', {}),
+ \ }
+augroup END