Skip to content
Snippets Groups Projects
Commit 758664b7 authored by Roy Crihfield's avatar Roy Crihfield Committed by Brad King
Browse files

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

Allow space separating name and opening parenthesis.
parent fb3035a9
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment