mirror of
https://github.com/dense-analysis/ale.git
synced 2026-03-02 13:27:08 +08:00
Use &l:equalprg so local options do not override global ones
This commit is contained in:
@@ -243,7 +243,7 @@ endfunction
|
||||
" (name, func, filetypes, desc, aliases)
|
||||
function! ale#fix#registry#Add(name, func, filetypes, desc, ...) abort
|
||||
" This command will throw from the sandbox.
|
||||
let &equalprg=&equalprg
|
||||
let &l:equalprg=&l:equalprg
|
||||
|
||||
if type(a:name) isnot v:t_string
|
||||
throw '''name'' must be a String'
|
||||
|
||||
Reference in New Issue
Block a user