diff options
| -rw-r--r-- | coq/coq-syntax.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coq/coq-syntax.el b/coq/coq-syntax.el index 0c871c3b..6bc6fe8d 100644 --- a/coq/coq-syntax.el +++ b/coq/coq-syntax.el @@ -796,9 +796,9 @@ Used by `coq-goal-command-p'" (defvar coq-font-lock-terms (list ;; lambda binders - (list (coq-first-abstr-regexp "fun" "\\(?:=>\\|:\\)") 1 'font-lock-variable-name-face) + (list (coq-first-abstr-regexp "fun\>" "\\(?:=>\\|:\\)") 1 'font-lock-variable-name-face) ;; forall binder - (list (coq-first-abstr-regexp "forall" "\\(?:,\\|:\\)") 1 'font-lock-variable-name-face) + (list (coq-first-abstr-regexp "forall\>" "\\(?:,\\|:\\)") 1 'font-lock-variable-name-face) ;; Pi binders (list (coq-first-abstr-regexp "(" ":[^:=]") 1 'font-lock-variable-name-face) ;; second, third, etc. abstraction for Lambda of Pi binders |
