mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-04 19:28:52 +08:00
Correct all Vint warnings
This commit is contained in:
1 parent
16a150b277
commit
1ea0eda36c
4 files changed
+8
-8
No files matched your search
@@ -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], '^')
|
||||
|
||||
Reference in new issue
Block a user