1
2
3
4
5
6
7
8
9
10
11
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
|