branch: elpa/rainbow-delimiters
commit d44ed19ade8e433f5e95a2ffc4d43e6ea35a75a9
Author: Jeremy L. Rayman <[email protected]>
Commit: Jeremy L. Rayman <[email protected]>
Note that rainbow-delimiters-depth-1-face only gets applied to outermost
delimiter pair. (Stylistically this is nice because it makes the outermost pair
distinct.)
---
rainbow-delimiters.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/rainbow-delimiters.el b/rainbow-delimiters.el
index ebd67235bd..0a6b8a202d 100644
--- a/rainbow-delimiters.el
+++ b/rainbow-delimiters.el
@@ -286,6 +286,8 @@ For example: 'rainbow-delimiters-depth-1-face'."
(and (< depth rainbow-delimiters-max-face-count)
depth)
;; Deeper than # of defined faces; cycle back through to beginning.
+ ;; Depth 1 face is only applied to the outermost delimiter pair.
+ ;; Cycles infinitely through faces 2-9.
(let ((cycled-depth (mod depth rainbow-delimiters-max-face-count)))
(if (/= cycled-depth 0)
;; Return face # that corresponds to current nesting level.