rainbow-delimiters icon indicating copy to clipboard operation
rainbow-delimiters copied to clipboard

Doesn't work well with evil-normal-mode

Open NightMachinery opened this issue 6 years ago • 2 comments

The color of the char at point is always white. It'd be a good idea to highlight the matching delimiter when point is before a delimiter. image

NightMachinery avatar Apr 23 '18 16:04 NightMachinery

Same trouble.

scottming avatar Jun 12 '18 10:06 scottming

This should be easy enough to fix if you customize your own faces. You can start with M-x describe-face and go from there.

This seems outside the scope of this package. For example, in this case you want the character color to remain the same at the point, but I edit white text on a black background and I have a white box cursor and I want the character color to change when my cursor on the character. Thus, you want the underlying character to remain the same, and I want it to change. Both are reasonable things to want depending on our preferred themes.

That's why I suggest changing your faces. The theme you chose is your responsibility, not the responsibility of this package.

Here are some related lines from my config to help you get started. Reading through some docs with, for example, C-h f set-face-attribute will help you change your faces.

(set-face-attribute 'default nil :height 160)

(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(font-lock-comment-face ((t (:foreground "#8c7f74"))))
 '(highlight ((t (:background "#403935"))))
 '(region ((t (:background "#403935"))))
 '(show-paren-match ((t (:foreground nil :background "#403935" :weight bold)))))

DevJac avatar Apr 21 '23 17:04 DevJac