verilog-mode
verilog-mode copied to clipboard
Is it possible to make "begin" keyword align with case expression?
Author Name: Enzo Chi Original Redmine Issue: 1168 from https://www.veripool.org
We have coding style required the "begin" keyword has to align with the case expression:
Expected:
case(sel)
0:
begin
dout <= a;
end
....
endcase
But the verilog-mode always indent the "begin" as below:
case(sel)
0:
begin
dout <= a;
end
....
endcase
Original Redmine Comment Author Name: Wilson Snyder (@wsnyder) Original Date: 2017-11-19T13:44:35Z
I don't believe there is presently a setting for this.
Note the indentation code is mostly maintained/improved as patches are contributed. So, perhaps you would like to consider contributing a patch for this?