Merge pull request #2617 from robindar/master

Fix crystal-lang non file-tied message handling
This commit is contained in:
w0rp
2019-11-07 08:36:42 +00:00
committed by GitHub
2 changed files with 14 additions and 0 deletions
+4
View File
@@ -5,6 +5,10 @@ function! ale_linters#crystal#crystal#Handle(buffer, lines) abort
let l:output = []
for l:error in ale#util#FuzzyJSONDecode(a:lines, [])
if !has_key(l:error, 'file')
continue
endif
call add(l:output, {
\ 'lnum': l:error.line + 0,
\ 'col': l:error.column + 0,