diff options
Diffstat (limited to 'settings/fortls.vim')
-rw-r--r-- | settings/fortls.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/settings/fortls.vim b/settings/fortls.vim new file mode 100644 index 0000000..78c29ea --- /dev/null +++ b/settings/fortls.vim @@ -0,0 +1,12 @@ +augroup vimlsp_settings_fortls + au! + autocmd User lsp_setup ++once call lsp#register_server({ + \ '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), + \ 'whitelist': lsp_settings#get('fortls', 'whitelist', ['fortran']), + \ 'blacklist': lsp_settings#get('fortls', 'blacklist', []), + \ 'config': lsp_settings#get('fortls', 'config', {}), + \ 'workspace_config': lsp_settings#get('fortls', 'workspace_config', {}), + \ }) +augroup END |