mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-25 01:38:41 +08:00
#2132 - Replace all uses of foo_callback with foo
This commit is contained in:
@@ -22,7 +22,7 @@ endfunction
|
||||
call ale#linter#Define('go', {
|
||||
\ 'name': 'golangserver',
|
||||
\ 'lsp': 'stdio',
|
||||
\ 'executable_callback': ale#VarFunc('go_langserver_executable'),
|
||||
\ 'command_callback': 'ale_linters#go#langserver#GetCommand',
|
||||
\ 'project_root_callback': 'ale#go#FindProjectRoot',
|
||||
\ 'executable': {b -> ale#Var(b, 'go_langserver_executable')},
|
||||
\ 'command': function('ale_linters#go#langserver#GetCommand'),
|
||||
\ 'project_root': function('ale#go#FindProjectRoot'),
|
||||
\})
|
||||
|
||||
Reference in New Issue
Block a user