diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-25 09:24:32 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-25 09:24:32 +0900 |
commit | 3497ec2aaf4d325189d7fda76a027827c270cef8 (patch) | |
tree | 15d333c89aec738c7db4a6d55fb0432bc0f4709c /settings/fortls.vim | |
parent | 3d04ccc3358d5b8ec59d665508b696d4787627d2 (diff) | |
download | vim-lsp-settings-3497ec2aaf4d325189d7fda76a027827c270cef8.tar.gz vim-lsp-settings-3497ec2aaf4d325189d7fda76a027827c270cef8.tar.bz2 vim-lsp-settings-3497ec2aaf4d325189d7fda76a027827c270cef8.zip |
Use LspRegisterServer
Diffstat (limited to 'settings/fortls.vim')
-rw-r--r-- | settings/fortls.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/fortls.vim b/settings/fortls.vim index 78c29ea..3aced00 100644 --- a/settings/fortls.vim +++ b/settings/fortls.vim @@ -1,6 +1,6 @@ augroup vimlsp_settings_fortls au! - autocmd User lsp_setup ++once call lsp#register_server({ + LspRegisterServer { \ 'name': 'fortls', \ 'cmd': {server_info->lsp_settings#get('fortls', 'cmd', [lsp_settings#exec_path('fortls')])}, \ 'initialization_options': lsp_settings#get('fortls', 'initialization_options', v:null), @@ -8,5 +8,5 @@ augroup vimlsp_settings_fortls \ 'blacklist': lsp_settings#get('fortls', 'blacklist', []), \ 'config': lsp_settings#get('fortls', 'config', {}), \ 'workspace_config': lsp_settings#get('fortls', 'workspace_config', {}), - \ }) + \ } augroup END |