veripool / verilog-perl

Verilog parser, preprocessor, and related tools for the Verilog-Perl package
https://www.veripool.org/verilog-perl
Artistic License 2.0
121 stars 34 forks source link

Question: Missing some font-lock face registering. #940

Closed veripoolbot closed 9 years ago

veripoolbot commented 9 years ago

Author Name: Henrik Solvang Original Redmine Message: 1667 from https://www.veripool.org


Hi,

Not sure if this is a bug with my setup or simply a feature not supported in verilog-mode.

There are a lot of faces in verilog which are not registered to any particular font-lock-face. Variables, nets, <=, =, numbers inside brackets, constants and module instantiations are all _'allfaces' types. In particular, it would be really nice to have the variables and nets be of type 'font-lock-variable-name-face' so that I can introduce some colour to my variables. I downloaded an old vlog-mode and noticed that the code looked way better in this mode due to colouring of my variables, but alas, the vlog-mode is just to old and lacks support for too many things.

Any ideas?

I am using emacs 24.3.1 and the latest verilog-mode(2015-06-26-832636e-vpo). I have tried running with an dotemacs that was empty except for verilog-mode.

.emacs:

(global-font-lock-mode t)
(add-to-list 'load-path "~/.emacs.d/verilog-mode")
(autoload 'verilog-mode "verilog-mode" "Verilog mode" t )

/Henrik