mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-19 20:37:04 +08:00
Support setting settings with g:ale_pattern_options
This commit is contained in:
1 parent
1b55e5edab
commit
ab47011ef2
2 files changed
+10
-2
No files matched your search
@@ -13,6 +13,10 @@ function! ale#pattern_options#SetOptions() abort
|
||||
endfor
|
||||
|
||||
for l:key in keys(l:options)
|
||||
let b:[l:key] = l:options[l:key]
|
||||
if l:key[:0] ==# '&'
|
||||
call setbufvar(bufnr(''), l:key, l:options[l:key])
|
||||
else
|
||||
let b:[l:key] = l:options[l:key]
|
||||
endif
|
||||
endfor
|
||||
endfunction
|
||||
Reference in new issue
Block a user