aboutsummaryrefslogtreecommitdiff
path: root/settings/kotlin-language-server.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-15 23:19:59 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-15 23:19:59 +0900
commit93d4f9e65e1bb289e134d97c28701c3c2bd367a5 (patch)
treeb53674420c2efc0baaa38fca228af7f0b7a506d2 /settings/kotlin-language-server.vim
parent33aafd16d960e00c771885e0128f4f35a6581bdc (diff)
downloadvim-lsp-settings-93d4f9e65e1bb289e134d97c28701c3c2bd367a5.tar.gz
vim-lsp-settings-93d4f9e65e1bb289e134d97c28701c3c2bd367a5.tar.bz2
vim-lsp-settings-93d4f9e65e1bb289e134d97c28701c3c2bd367a5.zip
Rename
Diffstat (limited to 'settings/kotlin-language-server.vim')
-rw-r--r--settings/kotlin-language-server.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/settings/kotlin-language-server.vim b/settings/kotlin-language-server.vim
new file mode 100644
index 0000000..ebc2c94
--- /dev/null
+++ b/settings/kotlin-language-server.vim
@@ -0,0 +1,12 @@
+augroup vimlsp_settings_kotlin_language_server
+ au!
+ autocmd User lsp_setup call lsp#register_server({
+ \ 'name': 'kotlin-language-server',
+ \ 'cmd': lsp_settings#get('kotlin-language-server', 'cmd', {server_info->[lsp_settings#exec_path('kotlin-language-server')]}),
+ \ 'initialization_options': lsp_settings#get('kotlin-language-server', 'initialization_options', v:null),
+ \ 'whitelist': lsp_settings#get('kotlin-language-server', 'whitelist', ['kotlin']),
+ \ 'blacklist': lsp_settings#get('kotlin-language-server', 'blacklist', []),
+ \ 'config': lsp_settings#get('kotlin-language-server', 'config', {}),
+ \ 'workspace_config': lsp_settings#get('kotlin-language-server', 'workspace_config', {}),
+ \ })
+augroup END