mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-22 03:51:26 +08:00
Ban use of ==# or ==? in the codebase, and prefer is# or is? instead
This commit is contained in:
@@ -13,7 +13,7 @@ function! ale#pattern_options#SetOptions() abort
|
||||
endfor
|
||||
|
||||
for l:key in keys(l:options)
|
||||
if l:key[:0] ==# '&'
|
||||
if l:key[:0] is# '&'
|
||||
call setbufvar(bufnr(''), l:key, l:options[l:key])
|
||||
else
|
||||
let b:[l:key] = l:options[l:key]
|
||||
|
||||
Reference in New Issue
Block a user