Variable: vhdl-forbidden-syntax
vhdl-forbidden-syntax is a customizable variable defined in
vhdl-mode.el.gz.
Value
""
Documentation
Syntax of forbidden words to be highlighted.
If option vhdl-highlight-forbidden-words is non-nil, words with this
syntax are highlighted in a warning color to indicate not to use them.
Can be used to highlight too long identifiers (e.g. "\\w\\w\\w\\w\\w\\w\\w\\w\\w\\w+"
highlights identifiers with 10 or more characters).
NOTE: Activate the new setting in a VHDL buffer by re-fontifying it (menu
entry "Fontify Buffer").
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defcustom vhdl-forbidden-syntax ""
"Syntax of forbidden words to be highlighted.
If option `vhdl-highlight-forbidden-words' is non-nil, words with this
syntax are highlighted in a warning color to indicate not to use them.
Can be used to highlight too long identifiers (e.g. \"\\w\\w\\w\\w\\w\\w\\w\\w\\w\\w+\"
highlights identifiers with 10 or more characters).
NOTE: Activate the new setting in a VHDL buffer by re-fontifying it (menu
entry \"Fontify Buffer\")."
:type 'regexp
:set (lambda (variable value)
(vhdl-custom-set variable value
#'vhdl-words-init #'vhdl-font-lock-init))
:group 'vhdl-highlight)