vim-verilog-instance icon indicating copy to clipboard operation
vim-verilog-instance copied to clipboard

Keep comments

Open gogulfresh opened this issue 5 years ago • 2 comments

Hi! Is it possible to add an option thus the comments from the original port list are kept? Thanks!

gogulfresh avatar May 27 '19 13:05 gogulfresh

Hi @gogulfresh , I just took a look at the modification it involves. It is doable but would require a refactor of the code, so I'm not going to do it.

However, feel free to do a Pull Request. If you want to go that route, you will have to modify plugin/verilog_instance.py. I just added test.sv in the repo so you can make sure your modifications don't break anything.

Thanks, Antoine

antoinemadec avatar May 30 '19 19:05 antoinemadec

@gogulfresh I had add some codes to support keep comments feature, please check my PR.

ArtisticZhao avatar Mar 12 '23 11:03 ArtisticZhao