aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq-db.el
diff options
context:
space:
mode:
authorGravatar Pierre Courtieu <Pierre.Courtieu@cnam.fr>2016-07-22 18:34:09 +0200
committerGravatar Pierre Courtieu <Pierre.Courtieu@cnam.fr>2016-07-22 18:34:09 +0200
commit68b82cd171404f0b5ecd5fc699d0931d5a03345c (patch)
tree3ed9b37a9a367edfc962f0b84aaa3c7ec6b96095 /coq/coq-db.el
parentc302c243bbb31c22c239ebc6574db61b5b16145a (diff)
Adding the option to highlight susual symbols.
This may look ugly to the majority, so I let it off by default. I find it helpfull to have structuring symbols bold.
Diffstat (limited to 'coq/coq-db.el')
-rw-r--r--coq/coq-db.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/coq/coq-db.el b/coq/coq-db.el
index 25eee637..0d9c0a6e 100644
--- a/coq/coq-db.el
+++ b/coq/coq-db.el
@@ -305,6 +305,11 @@ See `coq-syntax-db' for DB structure."
"Face for unicode binders, by default a bold version of `font-lock-type-face'."
:group 'proof-faces)
+(defface coq-symbol-face
+ '((t :inherit default-face :bold coq-bold-unicode-binders))
+ "Face for unicode binders, by default a bold version of `font-lock-type-face'."
+ :group 'proof-faces)
+
(defface coq-question-mark-face
'((t :inherit font-lock-variable-name-face))
"Face for Ltac binders and evars."
@@ -327,6 +332,10 @@ Required so that 'coq-cheat-face is a proper facename")
"Expression that evaluates to a face.
Required so that 'coq-symbol-binder-face is a proper facename")
+(defconst coq-symbol-face 'coq-symbol-face
+ "Expression that evaluates to a face.
+Required so that 'coq-symbol-binder-face is a proper facename")
+
(defconst coq-question-mark-face 'coq-question-mark-face)