aboutsummaryrefslogtreecommitdiff
path: root/settings/fortls.vim
diff options
context:
space:
mode:
Diffstat (limited to 'settings/fortls.vim')
-rw-r--r--settings/fortls.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/fortls.vim b/settings/fortls.vim
index 3aced00..49a8aff 100644
--- a/settings/fortls.vim
+++ b/settings/fortls.vim
@@ -3,6 +3,7 @@ augroup vimlsp_settings_fortls
LspRegisterServer {
\ 'name': 'fortls',
\ 'cmd': {server_info->lsp_settings#get('fortls', 'cmd', [lsp_settings#exec_path('fortls')])},
+ \ 'root_uri':{server_info->lsp_settings#get('fortls', 'root_uri', lsp_settings#root_uri(['.git/']))},
\ 'initialization_options': lsp_settings#get('fortls', 'initialization_options', v:null),
\ 'whitelist': lsp_settings#get('fortls', 'whitelist', ['fortran']),
\ 'blacklist': lsp_settings#get('fortls', 'blacklist', []),