summaryrefslogtreecommitdiff
path: root/ale_linters/fortran/language_server.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/fortran/language_server.vim')
-rw-r--r--ale_linters/fortran/language_server.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/fortran/language_server.vim b/ale_linters/fortran/language_server.vim
index 4e5f5dc4..00aa0577 100644
--- a/ale_linters/fortran/language_server.vim
+++ b/ale_linters/fortran/language_server.vim
@@ -13,7 +13,7 @@ endfunction
call ale#linter#Define('fortran', {
\ 'name': 'language_server',
\ 'lsp': 'stdio',
-\ 'executable_callback': ale#VarFunc('fortran_language_server_executable'),
+\ 'executable': {b -> ale#Var(b, 'fortran_language_server_executable')},
\ 'command': '%e',
-\ 'project_root_callback': 'ale_linters#fortran#language_server#GetProjectRoot',
+\ 'project_root': function('ale_linters#fortran#language_server#GetProjectRoot'),
\})