vhda / verilog_systemverilog.vim

Verilog/SystemVerilog Syntax and Omni-completion
366 stars 89 forks source link

issue with syntax hilight with inline/multi-line comments #193

Closed justrajdeep closed 4 years ago

justrajdeep commented 4 years ago

Hi

This plugin is amazing. I cannot thank you enough.

I see only a trivial issue with syntax highlight.

/* uvm_analysis_port #(REQ) mon_analysis_port;  //TLM analysis port */

if i have something like the above line; it misses the multi line comment closure(*/) because of the inline comment(//).

Can you please take look?

kirsa commented 4 years ago

Also seeing this issue. Would really appreciate any pointers on how to resolve this.

kirsa commented 4 years ago

My local fix for this is in ~/.vim/bundle/verilog_systemverilog.vim/syntax/verilog_systemverilog.vim add the following after line 357 : syn region verilogComment start="/*" end="/*\"

vhda commented 4 years ago

Could you please try again?

kirsa commented 4 years ago

Works for me, thanks!