2017-11-15 12:21:17 -05:00
|
|
|
Before:
|
2017-10-24 17:39:54 -04:00
|
|
|
runtime ale_linters/make/checkmake.vim
|
2017-11-15 12:21:17 -05:00
|
|
|
|
|
|
|
After:
|
|
|
|
call ale#linter#Reset()
|
|
|
|
|
|
|
|
Execute(Parsing checkmake errors should work):
|
2017-10-24 17:39:54 -04:00
|
|
|
silent file Makefile
|
|
|
|
|
|
|
|
AssertEqual
|
|
|
|
\ [
|
|
|
|
\ {
|
|
|
|
\ 'bufnr': 42,
|
|
|
|
\ 'lnum': 1,
|
|
|
|
\ 'type': 'E',
|
2017-11-15 18:01:59 -05:00
|
|
|
\ 'code': 'woops',
|
|
|
|
\ 'text': 'an error has occurred',
|
2017-10-24 17:39:54 -04:00
|
|
|
\ }
|
|
|
|
\ ],
|
|
|
|
\ ale_linters#make#checkmake#Handle(42, [
|
|
|
|
\ 'This shouldnt match',
|
|
|
|
\ '1:woops:an error has occurred',
|
|
|
|
\ ])
|