aboutsummaryrefslogtreecommitdiff
path: root/settings/omnisharp-lsp.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-31 23:23:58 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-31 23:23:58 +0900
commit3fc9df27e0a88e4739f659a86b9379ce010e99cc (patch)
treeaa41c73e4000993d7e19252e0d7f24873a1217d1 /settings/omnisharp-lsp.vim
parent319f7ad838e62a182ccff654c832d63733ed3719 (diff)
downloadvim-lsp-settings-3fc9df27e0a88e4739f659a86b9379ce010e99cc.tar.gz
vim-lsp-settings-3fc9df27e0a88e4739f659a86b9379ce010e99cc.tar.bz2
vim-lsp-settings-3fc9df27e0a88e4739f659a86b9379ce010e99cc.zip
Fix omnisharp-lsp.vim
-lsp is required.
Diffstat (limited to 'settings/omnisharp-lsp.vim')
-rw-r--r--settings/omnisharp-lsp.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/omnisharp-lsp.vim b/settings/omnisharp-lsp.vim
index cfa0a94..88cdb85 100644
--- a/settings/omnisharp-lsp.vim
+++ b/settings/omnisharp-lsp.vim
@@ -2,7 +2,7 @@ augroup vimlsp_settings_omnisharp_lsp
au!
LspRegisterServer {
\ 'name': 'omnisharp-lsp',
- \ 'cmd': {server_info->lsp_settings#get('omnisharp-lsp', 'cmd', [lsp_settings#exec_path('omnisharp-lsp')])},
+ \ 'cmd': {server_info->lsp_settings#get('omnisharp-lsp', 'cmd', [lsp_settings#exec_path('omnisharp-lsp'), '-lsp'])},
\ 'root_uri':{server_info->lsp_settings#get('omnisharp-lsp', 'root_uri', lsp_settings#root_uri(['.git/']))},
\ 'initialization_options': lsp_settings#get('omnisharp-lsp', 'initialization_options', v:null),
\ 'whitelist': lsp_settings#get('omnisharp-lsp', 'whitelist', ['cs']),