summaryrefslogtreecommitdiff
path: root/ale_linters/crystal
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/crystal')
-rw-r--r--ale_linters/crystal/ameba.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/crystal/ameba.vim b/ale_linters/crystal/ameba.vim
index 165cabd0..a1bf9c1d 100644
--- a/ale_linters/crystal/ameba.vim
+++ b/ale_linters/crystal/ameba.vim
@@ -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, {