Update the sandbox test now that functions can be defined in the sandbox
This commit is contained in:
parent
c1a2aa27f3
commit
c9a6b04dc7
1 changed files with 2 additions and 3 deletions
|
@ -268,9 +268,8 @@ endfunction
|
|||
" See :help sandbox
|
||||
function! ale#util#InSandbox() abort
|
||||
try
|
||||
function! s:SandboxCheck() abort
|
||||
endfunction
|
||||
catch /^Vim\%((\a\+)\)\=:E48/
|
||||
let &equalprg=&equalprg
|
||||
catch /E48/
|
||||
" E48 is the sandbox error.
|
||||
return 1
|
||||
endtry
|
||||
|
|
Reference in a new issue