diff options
author | w0rp <devw0rp@gmail.com> | 2018-07-11 13:06:27 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-07-11 13:36:59 +0100 |
commit | c9a6b04dc7c1d9f4d24676ee5ef9670dd0cd1bae (patch) | |
tree | acea509fd1406c4c80ec6adc484201e1708e1ae9 /autoload | |
parent | c1a2aa27f36690dec1433a15307fe7198ec27629 (diff) | |
download | ale-c9a6b04dc7c1d9f4d24676ee5ef9670dd0cd1bae.zip |
Update the sandbox test now that functions can be defined in the sandbox
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/util.vim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/autoload/ale/util.vim b/autoload/ale/util.vim index d7b6904c..267b0587 100644 --- a/autoload/ale/util.vim +++ b/autoload/ale/util.vim @@ -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 |