Use &l:equalprg so local options do not override global ones

This commit is contained in:
w0rp
2018-08-17 10:10:49 +01:00
parent ad8b260519
commit 61a0716837
3 changed files with 4 additions and 4 deletions

View File

@@ -268,7 +268,7 @@ endfunction
" See :help sandbox
function! ale#util#InSandbox() abort
try
let &equalprg=&equalprg
let &l:equalprg=&l:equalprg
catch /E48/
" E48 is the sandbox error.
return 1