Update syntax checking

* Line continuation characters should be on the same lines.
* .vim file line indentation should be a multiple of 4.
This commit is contained in:
w0rp
2019-02-06 18:05:13 +00:00
parent 4d426bf287
commit 3e11cbd18d
44 changed files with 221 additions and 191 deletions

View File

@@ -14,7 +14,7 @@ endfunction
" Handle output from ameba
function! ale_linters#crystal#ameba#HandleAmebaOutput(buffer, lines) abort
if len(a:lines) == 0
return []
return []
endif
let l:errors = ale#util#FuzzyJSONDecode(a:lines[0], {})
@@ -32,7 +32,7 @@ function! ale_linters#crystal#ameba#HandleAmebaOutput(buffer, lines) abort
let l:end_col = str2nr(l:error['end_location']['column'])
if !l:end_col
let l:end_col = l:start_col + 1
let l:end_col = l:start_col + 1
endif
call add(l:output, {