File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -932,6 +932,12 @@ always be saved."
932
932
:type 'boolean)
933
933
(put 'verilog-auto-star-save 'safe-local-variable #'verilog-booleanp)
934
934
935
+ (defcustom verilog-fontify-variables t
936
+ "Non-nil means fontify declaration variables."
937
+ :group 'verilog-mode-actions
938
+ :type 'boolean)
939
+ (put 'verilog-fontify-variables 'safe-local-variable #'verilog-booleanp)
940
+
935
941
(defvar verilog-auto-update-tick nil
936
942
"Modification tick at which autos were last performed.")
937
943
@@ -3743,7 +3749,8 @@ This function moves POINT to the next variable within the same declaration (if
3743
3749
it exists).
3744
3750
LIMIT is expected to be the pos at which current single-declaration ends,
3745
3751
obtained using `verilog-single-declaration-end'."
3746
- (when (not (member (thing-at-point 'symbol) verilog-keywords))
3752
+ (when (and verilog-fontify-variables
3753
+ (not (member (thing-at-point 'symbol) verilog-keywords)))
3747
3754
(let (found-var old-point)
3748
3755
;; Remove starting whitespace
3749
3756
(verilog-forward-ws&directives limit)
@@ -15501,6 +15508,7 @@ Files are checked based on `verilog-library-flags'."
15501
15508
verilog-compiler
15502
15509
verilog-coverage
15503
15510
verilog-delete-auto-hook
15511
+ verilog-fontify-variables
15504
15512
verilog-getopt-flags-hook
15505
15513
verilog-highlight-grouping-keywords
15506
15514
verilog-highlight-includes
You can’t perform that action at this time.
0 commit comments