diff options
author | w0rp <devw0rp@gmail.com> | 2017-08-11 00:31:42 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-08-11 00:31:42 +0100 |
commit | d5ae3201a4128c9e7b1042e9ea40b7f13cf72a10 (patch) | |
tree | 86ca55a467b86555aaed7e83e0094a5def357bd1 /ale_linters/kotlin | |
parent | b1462ac66c10ed323c5148ecd8821c3a433ff403 (diff) | |
download | ale-d5ae3201a4128c9e7b1042e9ea40b7f13cf72a10.zip |
Ban !=# and !=? from the codebase
Diffstat (limited to 'ale_linters/kotlin')
-rw-r--r-- | ale_linters/kotlin/kotlinc.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ale_linters/kotlin/kotlinc.vim b/ale_linters/kotlin/kotlinc.vim index c8d238b2..00f94be5 100644 --- a/ale_linters/kotlin/kotlinc.vim +++ b/ale_linters/kotlin/kotlinc.vim @@ -13,7 +13,7 @@ let s:classpath_sep = has('unix') ? ':' : ';' function! ale_linters#kotlin#kotlinc#GetImportPaths(buffer) abort " exec maven/gradle only if classpath is not set - if ale#Var(a:buffer, 'kotlin_kotlinc_classpath') !=# '' + if ale#Var(a:buffer, 'kotlin_kotlinc_classpath') isnot# '' return '' else let l:pom_path = ale#path#FindNearestFile(a:buffer, 'pom.xml') @@ -70,7 +70,7 @@ function! ale_linters#kotlin#kotlinc#GetCommand(buffer, import_paths) abort endif " We only get here if not using module or the module file not readable - if ale#Var(a:buffer, 'kotlin_kotlinc_classpath') !=# '' + if ale#Var(a:buffer, 'kotlin_kotlinc_classpath') isnot# '' let l:kotlinc_opts .= ' -cp ' . ale#Var(a:buffer, 'kotlin_kotlinc_classpath') else " get classpath from maven/gradle @@ -78,7 +78,7 @@ function! ale_linters#kotlin#kotlinc#GetCommand(buffer, import_paths) abort endif let l:fname = '' - if ale#Var(a:buffer, 'kotlin_kotlinc_sourcepath') !=# '' + if ale#Var(a:buffer, 'kotlin_kotlinc_sourcepath') isnot# '' let l:fname .= expand(ale#Var(a:buffer, 'kotlin_kotlinc_sourcepath'), 1) . ' ' else " Find the src directory for files in this project. @@ -121,7 +121,7 @@ function! ale_linters#kotlin#kotlinc#Handle(buffer, lines) abort let l:curbuf_abspath = expand('#' . a:buffer . ':p') " Skip if file is not loaded - if l:buf_abspath !=# l:curbuf_abspath + if l:buf_abspath isnot# l:curbuf_abspath continue endif let l:type_marker_str = l:type is# 'warning' ? 'W' : 'E' |