aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves via Guix-patches via <guix-patches@gnu.org>2023-06-05 14:03:05 +0200
committerAndrew Tropin <andrew@trop.in>2023-06-13 16:01:38 +0400
commitb94cbbbce70f59b795526a0ed305facf041e6faa (patch)
tree992e0c09644865fcef51cff127d67cf84a1a51a4
parent7224a1ca6e181d98243bc77828dea23e582aa57e (diff)
downloadguix-b94cbbbce70f59b795526a0ed305facf041e6faa.tar.gz
guix-b94cbbbce70f59b795526a0ed305facf041e6faa.zip
gnu: Add tree-sitter-bibtex.
* gnu/packages/tree-sitter.scm (tree-sitter-bibtex): New variable.
-rw-r--r--gnu/packages/tree-sitter.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 8951c2ff57..3e17d47a7a 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -266,6 +266,17 @@ will be used in description and synopsis."
#:inputs (list tree-sitter-javascript)
#:grammar-directories '("typescript" "tsx")))
+(define-public tree-sitter-bibtex
+ (let ((commit "ccfd77db0ed799b6c22c214fe9d2937f47bc8b34")
+ (revision "0"))
+ (tree-sitter-grammar
+ "bibtex" "Bibtex"
+ "0m7f3dkqbmy8x1bhl11m8f4p6n76wfvh99rp46zrqv39355nw1y2"
+ (git-version "0.1.0" revision commit)
+ #:repository-url "https://github.com/latex-lsp/tree-sitter-bibtex"
+ #:commit commit
+ #:license license:expat)))
+
(define-public tree-sitter-css
(tree-sitter-grammar
"css" "CSS"