cmake-mode.el: Fix function name font-lock

Allow space separating name and opening parenthesis.
This commit is contained in:
Roy Crihfield 2015-08-13 10:23:34 -05:00 committed by Brad King
parent fb3035a92c
commit 758664b7ad
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ the indentation. Otherwise it retains the same position on the line"
,@(mapcar #'downcase cmake-keywords))
symbol-end))
. 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)
("\\${?\\([[:alpha:]_][[:alnum:]_]*\\|[0-9]+\\|[$*_]\\)"
1 font-lock-variable-name-face t)