• 0 Posts
  • 1 Comment
Joined 1 year ago
cake
Cake day: October 17th, 2023

help-circle
  • I love the new treesit faces. But agree when literally everything has an attention drawing color, then nothing does.

    What works for me is to disable special colors for variable use, only var declartion.

    (custom-theme-set-faces
     (or (car custom-enabled-themes) 'user) ; current theme
    
     ;; attention drawing color for var definitions.
     `(font-lock-variable-name-face ((t (:foreground "cyan" :background "black"))))
    
     ;; normal color for var-use. To avoid color spagetti. (new treesit face)
     `(font-lock-variable-use-face ((t :inherit default))))