summaryrefslogtreecommitdiff
path: root/plugin
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 /plugin
parent16a150b27785e18fc9f15d66f02578ac72ffa834 (diff)
downloadale-1ea0eda36cac8fc39b2227c8b9c4ea75e48a4be3.zip
Correct all Vint warnings
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale/zmain.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/ale/zmain.vim b/plugin/ale/zmain.vim
index 72d0a263..20ab0043 100644
--- a/plugin/ale/zmain.vim
+++ b/plugin/ale/zmain.vim
@@ -107,7 +107,7 @@ function! s:FixLoclist(buffer, loclist)
endfunction
function! s:HandleExit(job)
- if a:job == 'no process'
+ if a:job ==# 'no process'
" Stop right away when the job is not valid in Vim 8.
return
endif
@@ -249,7 +249,7 @@ function! s:ApplyLinter(buffer, linter)
endif
" Only proceed if the job is being run.
- if has('nvim') || (job != 'no process' && job_status(job) == 'run')
+ if has('nvim') || (job !=# 'no process' && job_status(job) ==# 'run')
let a:linter.job = job
" Store the ID for the job in the map to read back again.
@@ -271,7 +271,7 @@ function! s:ApplyLinter(buffer, linter)
let input = join(getbufline(a:buffer, 1, '$'), "\n") . "\n"
let channel = job_getchannel(job)
- if ch_status(channel) == 'open'
+ if ch_status(channel) ==# 'open'
call ch_sendraw(channel, input)
call ch_close_in(channel)
endif