diff options
author | w0rp <devw0rp@gmail.com> | 2017-08-08 08:39:13 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-08-08 08:39:13 +0100 |
commit | a535d07f2897d36dad3b22d28c1c6cd16b7e385e (patch) | |
tree | d32ef7e2261be0a1542fb39f1978b90e6f59a520 /ale_linters/fortran | |
parent | 5010ddc28fdced941925563bbc55f9219dfa4267 (diff) | |
download | ale-a535d07f2897d36dad3b22d28c1c6cd16b7e385e.zip |
Ban use of ==# or ==? in the codebase, and prefer is# or is? instead
Diffstat (limited to 'ale_linters/fortran')
-rw-r--r-- | ale_linters/fortran/gcc.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/fortran/gcc.vim b/ale_linters/fortran/gcc.vim index a59c6564..5f2ac018 100644 --- a/ale_linters/fortran/gcc.vim +++ b/ale_linters/fortran/gcc.vim @@ -44,7 +44,7 @@ function! ale_linters#fortran#gcc#Handle(buffer, lines) abort " Now we have the text, we can set it and add the error. let l:last_loclist_obj.text = l:match[2] - let l:last_loclist_obj.type = l:match[1] ==# 'Warning' ? 'W' : 'E' + let l:last_loclist_obj.type = l:match[1] is# 'Warning' ? 'W' : 'E' call add(l:output, l:last_loclist_obj) else let l:last_loclist_obj = { |