Correct all Vint warnings
This commit is contained in:
parent
16a150b277
commit
1ea0eda36c
4 changed files with 8 additions and 8 deletions
|
@ -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], '^')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue