aboutsummaryrefslogtreecommitdiff
path: root/settings/omnisharp-lsp.vim
diff options
context:
space:
mode:
Diffstat (limited to 'settings/omnisharp-lsp.vim')
-rw-r--r--settings/omnisharp-lsp.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/omnisharp-lsp.vim b/settings/omnisharp-lsp.vim
index 1ce7fc4..cfa0a94 100644
--- a/settings/omnisharp-lsp.vim
+++ b/settings/omnisharp-lsp.vim
@@ -2,7 +2,8 @@ augroup vimlsp_settings_omnisharp_lsp
au!
LspRegisterServer {
\ 'name': 'omnisharp-lsp',
- \ 'root_uri':{server_info->lsp_settings#get('omnisharp-lsp', 'root_uri', lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), ['.git/'])))},
+ \ 'cmd': {server_info->lsp_settings#get('omnisharp-lsp', 'cmd', [lsp_settings#exec_path('omnisharp-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']),
\ 'blacklist': lsp_settings#get('omnisharp-lsp', 'blacklist', []),