diff options
Diffstat (limited to 'settings/kotlin-language-server.vim')
-rw-r--r-- | settings/kotlin-language-server.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/kotlin-language-server.vim b/settings/kotlin-language-server.vim index a11bc49..479805b 100644 --- a/settings/kotlin-language-server.vim +++ b/settings/kotlin-language-server.vim @@ -1,6 +1,6 @@ augroup vimlsp_settings_kotlin_language_server au! - autocmd User lsp_setup ++once call lsp#register_server({ + LspRegisterServer { \ 'name': 'kotlin-language-server', \ 'cmd': {server_info->lsp_settings#get('kotlin-language-server', 'cmd', [lsp_settings#exec_path('kotlin-language-server')])}, \ 'root_uri':{server_info->lsp_settings#get('kotlin-language-server', 'root_uri', lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), ['.git/'])))}, @@ -9,5 +9,5 @@ augroup vimlsp_settings_kotlin_language_server \ '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 |