Closed danmcmahill closed 2 years ago
I speculate you can treat it like e.g. always_comb, that is add "analog" to verilog-no-indent-begin-re and perhaps other spots. If you could please make a pull request with that change, a test and test_ok file and give it a try, it would be appreciated.
Thanks! Submitting PR now.
PR: #1738
Thanks!
I often times use verilog-mode for editing Verilog-A code due to syntax highlighting and indentation. One minor glitch I hit on every file is the auto generated comment after the closing
end
for ananalog begin
block fails.Here is an example. As a note, every Verilog-A module will contain the
analog
block. Verilog-AMS users will encounter this as well.To reproduce, just delete the
// UNMATCHED !!
and press enter and see it come back. What would be preferred is// analog
instead of// UNMATCHED !!
so I typically just manually make that change now in each Verilog-A file.With a push in the right direction in the verilog-mode.el code I may be able to create a patch but I'm a little lost as to where to start.