emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ef-themes 619a506ea3: Add support for tree-sitter packa


From: ELPA Syncer
Subject: [elpa] externals/ef-themes 619a506ea3: Add support for tree-sitter package
Date: Thu, 17 Nov 2022 23:57:48 -0500 (EST)

branch: externals/ef-themes
commit 619a506ea38f64ff2558e5d0c044e48393b05df2
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Add support for tree-sitter package
    
    Thanks to Benjamin (zealotrush) for reporting the issue and helping me
    set up the 'tree-sitter' package.  This was done in issue 19 on the
    GitHub mirror: <https://github.com/protesilaos/ef-themes/issues/19>.
---
 README.org   |  9 +++++----
 ef-themes.el | 18 ++++++++++++++++++
 2 files changed, 23 insertions(+), 4 deletions(-)

diff --git a/README.org b/README.org
index db36b1843b..dca76a812d 100644
--- a/README.org
+++ b/README.org
@@ -1058,6 +1058,7 @@ everything most users need.
 - textsec
 - transient
 - trashed
+- tree-sitter [Part of {{{development-version}}}]
 - tty-menu
 - vc (=vc-dir.el=, =vc-hooks.el=)
 - vertico
@@ -1398,10 +1399,10 @@ matters.
 + Contributions to code or the manual :: Alex Lu, Christopher League,
   Philip Kaludercic, Walheimat.
 
-+ Ideas and/or user feedback :: Alan Schmitt, Anthony Chavez, Daniel
-  Mendler, Federico Stilman, Iris Garcia, Jean-Philippe Gagné Guay,
-  Jonas Collberg, Saša Janiška, Spike-Leung, Steve Molitor, Summer
-  Emacs, Sven Seebeck, Zoltán Király.
++ Ideas and/or user feedback :: Alan Schmitt, Anthony Chavez, Benjamin
+  (zealotrush), Daniel Mendler, Federico Stilman, Iris Garcia,
+  Jean-Philippe Gagné Guay, Jonas Collberg, Saša Janiška, Spike-Leung,
+  Steve Molitor, Summer Emacs, Sven Seebeck, Zoltán Király.
 
 * GNU Free Documentation License
 :PROPERTIES:
diff --git a/ef-themes.el b/ef-themes.el
index dbb076dcd9..ca14e036d2 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -1844,6 +1844,24 @@ Helper function for `ef-themes-preview-colors'."
     `(transient-value ((,c :inherit success :background ,bg-info)))
 ;;;; trashed
     `(trashed-restored ((,c :inherit ef-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-intense)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]