aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-19 17:45:59 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-19 17:45:59 +0900
commite847384d3f66464a794b66b48a2e4a5fe86a6dbb (patch)
tree688d597db00d55853bcf13d7f08f8a7336f8bc9a /settings
parent0c85616e930f2d16da1162ed6d189ebc00426244 (diff)
downloadvim-lsp-settings-e847384d3f66464a794b66b48a2e4a5fe86a6dbb.tar.gz
vim-lsp-settings-e847384d3f66464a794b66b48a2e4a5fe86a6dbb.tar.bz2
vim-lsp-settings-e847384d3f66464a794b66b48a2e4a5fe86a6dbb.zip
Fix scripts
Diffstat (limited to 'settings')
-rw-r--r--settings/omnisharp-lsp.vim12
-rw-r--r--settings/omnisharp.vim12
2 files changed, 12 insertions, 12 deletions
diff --git a/settings/omnisharp-lsp.vim b/settings/omnisharp-lsp.vim
new file mode 100644
index 0000000..5e85335
--- /dev/null
+++ b/settings/omnisharp-lsp.vim
@@ -0,0 +1,12 @@
+augroup vimlsp_settings_omnisharp_lsp
+ au!
+ autocmd User lsp_setup ++once call lsp#register_server({
+ \ 'name': 'omnisharp-lsp',
+ \ 'cmd': {server_info->lsp_settings#get('omnisharp-lsp', 'cmd', [lsp_settings#exec_path('omnisharp'), '-lsp'])},
+ \ 'initialization_options': lsp_settings#get('omnisharp-lsp', 'initialization_options', v:null),
+ \ 'whitelist': lsp_settings#get('omnisharp-lsp', 'whitelist', ['cs']),
+ \ 'blacklist': lsp_settings#get('omnisharp-lsp', 'blacklist', []),
+ \ 'config': lsp_settings#get('omnisharp-lsp', 'config', {}),
+ \ 'workspace_config': lsp_settings#get('omnisharp-lsp', 'workspace_config', {}),
+ \ })
+augroup END
diff --git a/settings/omnisharp.vim b/settings/omnisharp.vim
deleted file mode 100644
index 2446081..0000000
--- a/settings/omnisharp.vim
+++ /dev/null
@@ -1,12 +0,0 @@
-augroup vimlsp_settings_omnisharp-node-client
- au!
- autocmd User lsp_setup ++once call lsp#register_server({
- \ 'name': 'omnisharp',
- \ 'cmd': {server_info->lsp_settings#get('omnisharp-node-client', 'cmd', [lsp_settings#exec_path('omnisharp'), '-lsp'])},
- \ 'initialization_options': lsp_settings#get('omnisharp-node-client', 'initialization_options', v:null),
- \ 'whitelist': lsp_settings#get('omnisharp-node-client', 'whitelist', ['cs']),
- \ 'blacklist': lsp_settings#get('omnisharp-node-client', 'blacklist', []),
- \ 'config': lsp_settings#get('omnisharp-node-client', 'config', {}),
- \ 'workspace_config': lsp_settings#get('omnisharp-node-client', 'workspace_config', {}),
- \ })
-augroup END