Make tree-sitter operator optionally bold

They will get a bold weight only when 'modus-themes-bold-constructs' are
non-nil.

Thanks to Przemysław Kryger for the feedback in issue 303 over at the
GitLab mirror: <https://gitlab.com/protesilaos/modus-themes/-/issues/303>.
This commit is contained in:
Protesilaos Stavrou 2022-04-08 12:06:16 +03:00
parent b5aa33d2df
commit cf04c27f4f
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -5,7 +5,7 @@
;; Author: Protesilaos Stavrou <info@protesilaos.com>
;; URL: https://git.sr.ht/~protesilaos/modus-themes
;; Version: 2.3.2
;; Last-Modified: <2022-04-08 08:44:55 +0300>
;; Last-Modified: <2022-04-08 12:05:53 +0300>
;; Package-Requires: ((emacs "27.1"))
;; Keywords: faces, theme, accessibility
@ -7389,7 +7389,7 @@ by virtue of calling either of `modus-themes-load-operandi' and
`(tree-sitter-hl-face:function.call ((,class :inherit tree-sitter-hl-face:function)))
`(tree-sitter-hl-face:label (( )))
`(tree-sitter-hl-face:method.call (( )))
`(tree-sitter-hl-face:operator ((,class :inherit bold)))
`(tree-sitter-hl-face:operator ((,class :inherit modus-themes-bold)))
`(tree-sitter-hl-face:property (( )))
`(tree-sitter-hl-face:property.definition ((,class :inherit font-lock-variable-name-face)))
`(tree-sitter-hl-face:punctuation (( )))