mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-13 00:20:13 +08:00
Use &l:equalprg so local options do not override global ones
This commit is contained in:
3 files changed
+4
-4
No files matched your search
@@ -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