Correct all Vint warnings

This commit is contained in:
w0rp 2016-10-08 23:55:58 +01:00
parent 16a150b277
commit 1ea0eda36c
4 changed files with 8 additions and 8 deletions

View file

@ -25,7 +25,7 @@ function! ale_linters#scala#scalac#Handle(buffer, lines)
endif
let text = l:match[3]
let type = l:match[2] == 'error' ? 'E' : 'W'
let type = l:match[2] ==# 'error' ? 'E' : 'W'
let col = 0
if ln + 1 < len(a:lines)
let col = stridx(a:lines[ln + 1], '^')