branch: master commit 1b7e0a57b74ca18c1118d57ae01467310d362065 Author: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com> Commit: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com>
Make context-coloring-face-count customizable. Add some dummy faces. --- context-coloring.el | 32 +++++++++++++++++++++++++++++++- 1 files changed, 31 insertions(+), 1 deletions(-) diff --git a/context-coloring.el b/context-coloring.el index 26eebbf..4a022ba 100644 --- a/context-coloring.el +++ b/context-coloring.el @@ -91,7 +91,37 @@ "Context coloring face, level 6." :group 'context-coloring-faces) -(defconst context-coloring-face-count 7 +(defface context-coloring-level-7-face + '((t (:inherit context-coloring-level-1-face))) + "Context coloring face, level 7." + :group 'context-coloring-faces) + +(defface context-coloring-level-8-face + '((t (:inherit context-coloring-level-2-face))) + "Context coloring face, level 8." + :group 'context-coloring-faces) + +(defface context-coloring-level-9-face + '((t (:inherit context-coloring-level-3-face))) + "Context coloring face, level 9." + :group 'context-coloring-faces) + +(defface context-coloring-level-10-face + '((t (:inherit context-coloring-level-4-face))) + "Context coloring face, level 10." + :group 'context-coloring-faces) + +(defface context-coloring-level-11-face + '((t (:inherit context-coloring-level-5-face))) + "Context coloring face, level 11." + :group 'context-coloring-faces) + +(defface context-coloring-level-12-face + '((t (:inherit context-coloring-level-6-face))) + "Context coloring face, level 12." + :group 'context-coloring-faces) + +(defcustom context-coloring-face-count 7 "Number of faces defined for highlighting delimiter levels. Determines level at which to cycle through faces again.")