mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 13:14:29 +08:00
Update the sandbox test now that functions can be defined in the sandbox
This commit is contained in:
@@ -268,9 +268,8 @@ endfunction
|
|||||||
" See :help sandbox
|
" See :help sandbox
|
||||||
function! ale#util#InSandbox() abort
|
function! ale#util#InSandbox() abort
|
||||||
try
|
try
|
||||||
function! s:SandboxCheck() abort
|
let &equalprg=&equalprg
|
||||||
endfunction
|
catch /E48/
|
||||||
catch /^Vim\%((\a\+)\)\=:E48/
|
|
||||||
" E48 is the sandbox error.
|
" E48 is the sandbox error.
|
||||||
return 1
|
return 1
|
||||||
endtry
|
endtry
|
||||||
|
|||||||
Reference in New Issue
Block a user