summaryrefslogtreecommitdiff
path: root/ale_linters/dart
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-09-04 11:15:59 +0100
committerw0rp <devw0rp@gmail.com>2018-09-04 11:15:59 +0100
commit43b04d4e5b6205bf4456f333bf0595d32f82da6f (patch)
tree0f8b6d9a6089ac8d4ba0abb3cf20aa5b3d8be0bd /ale_linters/dart
parent87f125ddcf1112196bd952af3bef9d8c85205f8c (diff)
downloadale-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.vim2
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',
\})