~ruther/guix-local

f3c7c225d4ca39eeeae5f469f9f9d4f7243da4c3 — Francisco-Galindo 7 months ago c0ff1be
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>
1 files changed, 24 insertions(+), 0 deletions(-)

M gnu/packages/emacs-xyz.scm
M gnu/packages/emacs-xyz.scm => gnu/packages/emacs-xyz.scm +24 -0
@@ 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")