diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-16 13:25:56 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-16 13:25:56 +0900 |
commit | 51817ee86b0fb62c820d1caba8a62a3192c1ff3b (patch) | |
tree | 875df2d7741bde8448f54cd2174e42c47c5f53b2 /settings | |
parent | d1a3b4795a5eecdbdfe3d5c9a707cb4f1e1369fd (diff) | |
download | vim-lsp-settings-51817ee86b0fb62c820d1caba8a62a3192c1ff3b.tar.gz vim-lsp-settings-51817ee86b0fb62c820d1caba8a62a3192c1ff3b.tar.bz2 vim-lsp-settings-51817ee86b0fb62c820d1caba8a62a3192c1ff3b.zip |
Add C#
Diffstat (limited to 'settings')
-rw-r--r-- | settings/omnisharp-node-client.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/settings/omnisharp-node-client.vim b/settings/omnisharp-node-client.vim new file mode 100644 index 0000000..4f99d71 --- /dev/null +++ b/settings/omnisharp-node-client.vim @@ -0,0 +1,12 @@ +augroup vimlsp_settings_omnisharp-node-client + au! + autocmd User lsp_setup call lsp#register_server({ + \ 'name': 'omnisharp-node-client', + \ 'cmd': lsp_settings#get('omnisharp-node-client', 'cmd', {server_info->[lsp_settings#exec_path('omnisharp-node-client')]}), + \ '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 |