summaryrefslogtreecommitdiff
path: root/ale_linters/dart
diff options
context:
space:
mode:
authorNelson Yeung <nelsyeung@icloud.com>2020-03-25 20:36:57 +0000
committerNelson Yeung <nelsyeung@gmail.com>2021-01-22 16:37:38 +0000
commit850c41b2a9556254a883a94f3f3c74374109a77b (patch)
tree2f7c955d1f314a9a13559f7bdca7e67bb9983bb9 /ale_linters/dart
parent847f729cd4e608e6feb81a342bec6cb3745c9845 (diff)
downloadale-850c41b2a9556254a883a94f3f3c74374109a77b.zip
Fix linting errors
Diffstat (limited to 'ale_linters/dart')
-rw-r--r--ale_linters/dart/analysis_server.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/dart/analysis_server.vim b/ale_linters/dart/analysis_server.vim
index 4a0ea4f2..82d91334 100644
--- a/ale_linters/dart/analysis_server.vim
+++ b/ale_linters/dart/analysis_server.vim
@@ -14,6 +14,7 @@ endfunction
function! ale_linters#dart#analysis_server#GetCommand(buffer) abort
let l:executable = ale#Var(a:buffer, 'dart_analysis_server_executable')
let l:dart = resolve(exepath(l:executable))
+
return '%e '
\ . fnamemodify(l:dart, ':h') . '/snapshots/analysis_server.dart.snapshot'
\ . ' --lsp'