Add support for zeek (#3952)

This commit is contained in:
Benjamin Bannier authored and GitHub committed 2021-10-24 21:05:55 +09:00
1 parent da331acc9e
commit 92f08b5af2
7 files changed
+85

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
Before:
runtime ale_linters/zeek/zeek.vim
After:
call ale#linter#Reset()
Execute(The zeek handler should parse input correctly):
AssertEqual
\ [
\ {
\ 'lnum': 2,
\ 'text': 'unknown identifier bar, at or near "bar"'
\ },
\ ],
\ ale_linters#zeek#zeek#HandleErrors(bufnr(''), [
\ 'error in /tmp/foo.zeek, line 2: unknown identifier bar, at or near "bar"'
\ ])