diff options
author | Bjorn Neergaard <bjorn@neersighted.com> | 2016-10-11 12:08:31 -0500 |
---|---|---|
committer | Bjorn Neergaard <bjorn@neersighted.com> | 2016-10-11 12:08:31 -0500 |
commit | 93cd44e2ecf471e8312ba565cd9ffcfe43e5a6c5 (patch) | |
tree | 69df9c71dd6873936f3c7612bcc9a6a933972504 /ale_linters/verilog | |
parent | 572c877a694a6e7c94bd2a252aafb9b67c568914 (diff) | |
download | ale-93cd44e2ecf471e8312ba565cd9ffcfe43e5a6c5.zip |
Match both error and syntax error in verilog
Diffstat (limited to 'ale_linters/verilog')
-rw-r--r-- | ale_linters/verilog/iverilog.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/verilog/iverilog.vim b/ale_linters/verilog/iverilog.vim index 7b0a4b38..ec37df14 100644 --- a/ale_linters/verilog/iverilog.vim +++ b/ale_linters/verilog/iverilog.vim @@ -25,7 +25,7 @@ function! ale_linters#verilog#iverilog#Handle(buffer, lines) endif let l:line = l:match[1] + 0 - let l:type = l:match[2] ==# 'error' ? 'E' : 'W' + let l:type = l:match[2] =~# 'error' ? 'E' : 'W' let l:text = l:match[2] ==# 'syntax error' ? 'syntax error' : l:match[4] call add(l:output, { |