1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:30:04 +08:00
SpaceVim/bundle/neomake/tests/isolated/resets-ignore_automake_events.vader
2020-06-13 14:06:35 +08:00

26 lines
664 B
Plaintext

Include: ../include/setup.vader
Execute (Resets ignore_automake_events always):
Save g:neomake_open_list
let g:neomake_open_list = 2
new
augroup neomake_tests
autocmd BufWritePost * CallNeomake 1, [g:error_maker]
augroup END
function! neomake#compat#save_prev_windows() abort
throw 'some error'
endfunction
doautocmd BufWritePost
AssertNeomakeMessage 'Error during output processing for error-maker: some error.', 0
doautocmd BufWritePost
AssertNeomakeMessage 'Error during output processing for error-maker: some error.', 0
bwipe
" Restore if not profiling.
if !v:profiling
runtime autoload/neomake/compat.vim
endif