diff options
author | w0rp <devw0rp@gmail.com> | 2018-09-04 11:15:59 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-09-04 11:15:59 +0100 |
commit | 43b04d4e5b6205bf4456f333bf0595d32f82da6f (patch) | |
tree | 0f8b6d9a6089ac8d4ba0abb3cf20aa5b3d8be0bd /ale_linters/dart | |
parent | 87f125ddcf1112196bd952af3bef9d8c85205f8c (diff) | |
download | ale-43b04d4e5b6205bf4456f333bf0595d32f82da6f.zip |
Fix the dart language server command and cover it with tests
Diffstat (limited to 'ale_linters/dart')
-rw-r--r-- | ale_linters/dart/language_server.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/dart/language_server.vim b/ale_linters/dart/language_server.vim index 2e5a7e61..8e0c139b 100644 --- a/ale_linters/dart/language_server.vim +++ b/ale_linters/dart/language_server.vim @@ -15,6 +15,6 @@ call ale#linter#Define('dart', { \ 'name': 'language_server', \ 'lsp': 'stdio', \ 'executable_callback': ale#VarFunc('dart_language_server_executable'), -\ 'command_callback': ale#VarFunc('dart_language_server_executable'), +\ 'command': '%e', \ 'project_root_callback': 'ale_linters#dart#language_server#GetProjectRoot', \}) |