summaryrefslogtreecommitdiff
path: root/ale_linters/scala/scalac.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-10-08 23:55:58 +0100
committerw0rp <devw0rp@gmail.com>2016-10-08 23:55:58 +0100
commit1ea0eda36cac8fc39b2227c8b9c4ea75e48a4be3 (patch)
tree5f30a1496b16f4266b33303ba0d576e5a5c16306 /ale_linters/scala/scalac.vim
parent16a150b27785e18fc9f15d66f02578ac72ffa834 (diff)
downloadale-1ea0eda36cac8fc39b2227c8b9c4ea75e48a4be3.zip
Correct all Vint warnings
Diffstat (limited to 'ale_linters/scala/scalac.vim')
-rw-r--r--ale_linters/scala/scalac.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/scala/scalac.vim b/ale_linters/scala/scalac.vim
index d5a75493..7d7d14ab 100644
--- a/ale_linters/scala/scalac.vim
+++ b/ale_linters/scala/scalac.vim
@@ -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], '^')