aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-19 00:40:25 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-19 00:40:25 +0900
commitfe18fd71e6a5ec372891a368adafc1965c67c33d (patch)
tree9401794050e99a4c75ae448c0cefd9003fdc3a32 /settings
parentb384fe6f3c8c46315821bf2a08798bfdcda880ee (diff)
downloadvim-lsp-settings-fe18fd71e6a5ec372891a368adafc1965c67c33d.tar.gz
vim-lsp-settings-fe18fd71e6a5ec372891a368adafc1965c67c33d.tar.bz2
vim-lsp-settings-fe18fd71e6a5ec372891a368adafc1965c67c33d.zip
Use OmniSharp directly
Diffstat (limited to 'settings')
-rw-r--r--settings/omnisharp.vim (renamed from settings/omnisharp-node-client.vim)4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/omnisharp-node-client.vim b/settings/omnisharp.vim
index 4510208..2446081 100644
--- a/settings/omnisharp-node-client.vim
+++ b/settings/omnisharp.vim
@@ -1,8 +1,8 @@
augroup vimlsp_settings_omnisharp-node-client
au!
autocmd User lsp_setup ++once call lsp#register_server({
- \ 'name': 'omnisharp-node-client',
- \ 'cmd': {server_info->lsp_settings#get('omnisharp-node-client', 'cmd', [lsp_settings#exec_path('omnisharp-node-client')])},
+ \ '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', []),