aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin/lsp.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim/after/plugin/lsp.vim')
-rw-r--r--.vim/after/plugin/lsp.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/.vim/after/plugin/lsp.vim b/.vim/after/plugin/lsp.vim
index 1aaee35..3e5267b 100644
--- a/.vim/after/plugin/lsp.vim
+++ b/.vim/after/plugin/lsp.vim
@@ -36,6 +36,14 @@ if executable('clangd')
\ })
endif
+if executable('omnisharp')
+ au User lsp_setup call lsp#register_server({
+ \ 'name': 'omnisharp',
+ \ 'cmd': {server_info->['omnisharp', '-lsp']},
+ \ 'allowlist': ['cs'],
+ \ })
+endif
+
if executable('godot')
au User lsp_setup
\ call lsp#register_server({