summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorFrancisco-Galindo <yo@franciscogalindo.com>2025-09-16 19:28:06 -0600
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2025-09-24 19:16:54 +0200
commitf3c7c225d4ca39eeeae5f469f9f9d4f7243da4c3 (patch)
tree15f41da91032f328ad8bceeba6ee90ba046a6e03 /gnu
parentc0ff1be86c786a54b89b3ecd01f3cb65dddf0b0b (diff)
gnu: Add emacs-treesit-auto.
* gnu/packages/emacs-xyz.scm (emacs-treesit-auto): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2d8aae762e2..90e12e0690a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -28053,6 +28053,30 @@ subs, classes, etc.), and REPL interaction.")
"This package provides an Emacs library to manage tree widgets.")
(license license:gpl3+))))
+(define-public emacs-treesit-auto
+ (let ((commit "016bd286a1ba4628f833a626f8b9d497882ecdf3")) ; version bump
+ (package
+ (name "emacs-treesit-auto")
+ (version "1.0.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/renzmann/treesit-auto")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "03bvam7cpxqp4idhd235n76qdqhsbgw7m2lphy8qqwslbmcq23m4"))))
+ (build-system emacs-build-system)
+ (arguments '(#:tests? #f)) ; no tests
+ (home-page "https://github.com/renzmann/treesit-auto")
+ (synopsis
+ "Automatically install and use tree-sitter major modes in Emacs 29+")
+ (description
+ "Install a tree-sitter major mode automatically. If the tree-sitter
+version can't be used, fall back to the original major mode.")
+ (license license:gpl3))))
+
(define-public emacs-md4rd
(package
(name "emacs-md4rd")