cmake-mode.el: Fix function name font-lock
Allow space separating name and opening parenthesis.
This commit is contained in:
parent
fb3035a92c
commit
758664b7ad
|
@ -198,7 +198,7 @@ the indentation. Otherwise it retains the same position on the line"
|
||||||
,@(mapcar #'downcase cmake-keywords))
|
,@(mapcar #'downcase cmake-keywords))
|
||||||
symbol-end))
|
symbol-end))
|
||||||
. font-lock-keyword-face)
|
. font-lock-keyword-face)
|
||||||
(,(rx symbol-start (group (+ (or word (syntax symbol)))) ?\()
|
(,(rx symbol-start (group (+ (or word (syntax symbol)))) (* blank) ?\()
|
||||||
1 font-lock-function-name-face)
|
1 font-lock-function-name-face)
|
||||||
("\\${?\\([[:alpha:]_][[:alnum:]_]*\\|[0-9]+\\|[$*_]\\)"
|
("\\${?\\([[:alpha:]_][[:alnum:]_]*\\|[0-9]+\\|[$*_]\\)"
|
||||||
1 font-lock-variable-name-face t)
|
1 font-lock-variable-name-face t)
|
||||||
|
|
Loading…
Reference in New Issue