Verilog-Mode for Emacs with Indentation, Hightlighting and AUTOs. Master repository for pushing to GNU, verilog.com and veripool.org.
GNU General Public License v3.0
247
stars
90
forks
source link
Add support to align declarations/expressions within the region. #1806
Closed
gmlarumbe closed 1 year ago
Hi,
This PR adds support for alignment of declarations and expressions within the marked region.
This is useful to fine-tune alignment of groups of declarations. For example:
Without this support, running
verilog-pretty-declarations
andverilog-pretty-expr
gives the following alignment:After this PR, marking each paragraph independently and running
verilog-pretty-declarations
andverilog-pretty-expr
results in:Thanks!