mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
" Author: Masahiro H https://github.com/mshr-h
|
||||
" Description: iverilog for verilog files
|
||||
|
||||
function! ale_linters#verilog#iverilog#Handle(buffer, lines)
|
||||
function! ale_linters#verilog#iverilog#Handle(buffer, lines) abort
|
||||
" Look for lines like the following.
|
||||
"
|
||||
" tb_me_top.v:37: warning: Instantiating module me_top with dangling input port 1 (rst_n) floating.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Author: Masahiro H https://github.com/mshr-h
|
||||
" Description: verilator for verilog files
|
||||
|
||||
function! ale_linters#verilog#verilator#Handle(buffer, lines)
|
||||
function! ale_linters#verilog#verilator#Handle(buffer, lines) abort
|
||||
" Look for lines like the following.
|
||||
"
|
||||
" %Error: addr_gen.v:3: syntax error, unexpected IDENTIFIER
|
||||
|
||||
Reference in New Issue
Block a user