diff options
author | Andrew Wong <wongandj@icloud.com> | 2025-06-07 08:15:11 -0400 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2025-07-29 21:32:25 +0800 |
commit | 4f89ec6cb6a5b3cfaab9bd5749acbb8d14a0bdff (patch) | |
tree | cc6a07d1568b51738aadf7fcd36b867fe0b2a710 | |
parent | f523cad8b0b79c1ad1623927faa01eca0ed8addd (diff) |
gnu: Add emacs-typst-ts-mode.
* gnu/packages/emacs-xyz.scm (emacs-typst-ts-mode): New variable.
Change-Id: I114d8bcfff6104fc7a23307858dd59879f7fc3c4
Signed-off-by: Hilton Chain <hako@ultrarare.space>
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index afa71f9175..008a594ec3 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -160,6 +160,7 @@ ;;; Copyright © 2025 Kurome <hunt31999@gmail.org> ;;; Copyright © 2025 Anderson Torres <anderson.torres.8519@gmail.com> ;;; Copyright © 2025 Jake Forster <jakecameron.forster@gmail.com> +;;; Copyright @ 2025 Andrew Wong <wongandj@icloud.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -9715,6 +9716,37 @@ which-func, navigation and basic beautify and completion features to navigate and edit VHDL files.") (license license:gpl3+))) +(define-public emacs-typst-ts-mode + (let ((commit "972dc69d6b8a3f8983f6b8000654f59c8a8d05ba") + (revision "0")) + ;; Releases are not tagged, so use commits that change the "Version:" + ;; keyword in the main file. + (package + (name "emacs-typst-ts-mode") + (version (git-version "0.12.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/meow_king/typst-ts-mode") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "167kdgbxp8n721xnka803lzgwxrfx4h6m4m2ip0lnfxi2fv007zv")) + (snippet #~(begin (delete-file "test/basic-syntax.pdf"))))) + (build-system emacs-build-system) + (propagated-inputs (list tree-sitter-typst)) + ;; There is a 'test' directory, but it is for use during development. + ;; There are no automated tests. + (arguments (list #:tests? #f)) + (home-page "https://codeberg.org/meow_king/typst-ts-mode") + (synopsis "Typst tree-sitter mode") + (description + "@code{typst-ts-mode} is a tree-sitter mode for the Typst typesetting and +markup language, providing automatic (re-)compilation, structural navigation, +symbol and documentation lookup, and more.") + (license license:gpl3+)))) + (define-public emacs-mode-line-bell (package (name "emacs-mode-line-bell") |