branch: externals/standard-themes commit 8ba3be29b22e72bab815a4e0fbfc1bdf1ac8cf03 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Add support for tree-sitter package --- standard-themes.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/standard-themes.el b/standard-themes.el index 6e920f3849..4b5759d598 100644 --- a/standard-themes.el +++ b/standard-themes.el @@ -1835,6 +1835,24 @@ Helper function for `standard-themes-preview-colors'." `(transient-value ((,c :inherit success :background ,bg-info))) ;;;; trashed `(trashed-restored ((,c :inherit standard-themes-mark-other))) +;;;; tree-sitter + `(tree-sitter-hl-face:attribute ((,c :inherit font-lock-variable-name-face))) + `(tree-sitter-hl-face:constant.builtin ((,c :inherit tree-sitter-hl-face:constant))) + `(tree-sitter-hl-face:escape ((,c :inherit font-lock-regexp-grouping-backslash))) + `(tree-sitter-hl-face:function ((,c :inherit font-lock-function-name-face))) + `(tree-sitter-hl-face:function.call ((,c :inherit tree-sitter-hl-face:function))) + `(tree-sitter-hl-face:label (( ))) + `(tree-sitter-hl-face:method.call (( ))) + `(tree-sitter-hl-face:operator ((,c :inherit bold))) + `(tree-sitter-hl-face:property (( ))) + `(tree-sitter-hl-face:property.definition ((,c :inherit font-lock-variable-name-face))) + `(tree-sitter-hl-face:punctuation (( ))) + `(tree-sitter-hl-face:punctuation.bracket (( ))) + `(tree-sitter-hl-face:punctuation.delimiter (( ))) + `(tree-sitter-hl-face:punctuation.special ((,c :inherit font-lock-regexp-grouping-construct))) + `(tree-sitter-hl-face:string.special ((,c :inherit tree-sitter-hl-face:string))) + `(tree-sitter-hl-face:tag ((,c :inherit font-lock-function-name-face))) + `(tree-sitter-hl-face:type.argument (( ))) ;;;; tty-menu `(tty-menu-disabled-face ((,c :background ,bg-alt :foreground ,fg-dim))) `(tty-menu-enabled-face ((,c :background ,bg-alt :foreground ,fg-main)))