• Starlight100@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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))))