branch: elpa/rainbow-delimiters
commit 89b748e401b7dcb60cd3455b760e3cdd6f5fef74
Author: Fanael Linithien <[email protected]>
Commit: Fanael Linithien <[email protected]>
Make rainbow-delimiters-outermost-only-face-count customizable.
Fixes #24.
---
rainbow-delimiters.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/rainbow-delimiters.el b/rainbow-delimiters.el
index a84fe7e079..9cba249d75 100644
--- a/rainbow-delimiters.el
+++ b/rainbow-delimiters.el
@@ -280,10 +280,12 @@ Nil disables brace highlighting."
Determines depth at which to cycle through faces again.")
-(defvar rainbow-delimiters-outermost-only-face-count 0
+(defcustom rainbow-delimiters-outermost-only-face-count 0
"Number of faces to be used only for N outermost delimiter levels.
-This should be smaller than `rainbow-delimiters-max-face-count'.")
+This should be smaller than `rainbow-delimiters-max-face-count'."
+ :type 'integer
+ :group 'rainbow-delimiters-faces)
;;; Face utility functions