summaryrefslogtreecommitdiff
path: root/ale_linters/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/javascript')
-rwxr-xr-xale_linters/javascript/flow.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/ale_linters/javascript/flow.vim b/ale_linters/javascript/flow.vim
index a4664fda..0561ab74 100755
--- a/ale_linters/javascript/flow.vim
+++ b/ale_linters/javascript/flow.vim
@@ -156,7 +156,8 @@ function! ale_linters#javascript#flow#Handle(buffer, lines) abort
\}
if has_key(l:error, 'extra')
- let l:errorToAdd.detail = s:GetDetails(l:error)
+ let l:errorToAdd.detail = l:errorToAdd.text
+ \ . "\n" . s:GetDetails(l:error)
endif
call add(l:output, l:errorToAdd)