mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 14:50:04 +08:00
26 lines
664 B
Plaintext
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
|