summaryrefslogtreecommitdiff
path: root/ale_linters/verilog
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-02-06 18:05:13 +0000
committerw0rp <devw0rp@gmail.com>2019-02-06 18:05:13 +0000
commit3e11cbd18da3852fab5dee3f743bc60dc87f0775 (patch)
tree0ca2b5c0e3a8a60b48ffbe569a12f6ac9687cd65 /ale_linters/verilog
parent4d426bf2873c6e1cd2c71e478c756903307628d3 (diff)
downloadale-3e11cbd18da3852fab5dee3f743bc60dc87f0775.zip
Update syntax checking
* Line continuation characters should be on the same lines. * .vim file line indentation should be a multiple of 4.
Diffstat (limited to 'ale_linters/verilog')
-rw-r--r--ale_linters/verilog/vlog.vim10
-rw-r--r--ale_linters/verilog/xvlog.vim10
2 files changed, 10 insertions, 10 deletions
diff --git a/ale_linters/verilog/vlog.vim b/ale_linters/verilog/vlog.vim
index 1a1fcb6a..c7686291 100644
--- a/ale_linters/verilog/vlog.vim
+++ b/ale_linters/verilog/vlog.vim
@@ -17,11 +17,11 @@ function! ale_linters#verilog#vlog#Handle(buffer, lines) abort
let l:output = []
for l:match in ale#util#GetMatches(a:lines, l:pattern)
- call add(l:output, {
- \ 'lnum': l:match[2] + 0,
- \ 'type': l:match[1] is? 'Error' ? 'E' : 'W',
- \ 'text': l:match[3],
- \})
+ call add(l:output, {
+ \ 'lnum': l:match[2] + 0,
+ \ 'type': l:match[1] is? 'Error' ? 'E' : 'W',
+ \ 'text': l:match[3],
+ \})
endfor
return l:output
diff --git a/ale_linters/verilog/xvlog.vim b/ale_linters/verilog/xvlog.vim
index db2227cd..52498f8f 100644
--- a/ale_linters/verilog/xvlog.vim
+++ b/ale_linters/verilog/xvlog.vim
@@ -16,11 +16,11 @@ function! ale_linters#verilog#xvlog#Handle(buffer, lines) abort
" NOTE: `xvlog` only prints 'INFO' and 'ERROR' messages
for l:match in ale#util#GetMatches(a:lines, l:pattern)
- call add(l:output, {
- \ 'lnum': l:match[2] + 0,
- \ 'type': 'E',
- \ 'text': l:match[1],
- \})
+ call add(l:output, {
+ \ 'lnum': l:match[2] + 0,
+ \ 'type': 'E',
+ \ 'text': l:match[1],
+ \})
endfor
return l:output