[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49946] [PATCH v6 26/27] gnu: Add emacs-tree-sitter.
From: |
Pierre Langlois |
Subject: |
[bug#49946] [PATCH v6 26/27] gnu: Add emacs-tree-sitter. |
Date: |
Sun, 15 May 2022 19:38:33 +0100 |
* gnu/packages/tree-sitter.scm (emacs-tree-sitter): New variable.
---
gnu/packages/tree-sitter.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 3e01474285..cb3f326367 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -770,3 +770,30 @@ (module (search-input-file inputs "/lib/tsc-dyn.so")))
(description "This package provides core APIs of the Emacs binding for
Tree-sitter, an incremental parsing system.")
(license license:expat)))
+
+(define-public emacs-tree-sitter
+ (package
+ (name "emacs-tree-sitter")
+ (version (package-version emacs-tree-sitter-core))
+ (source (package-source emacs-tree-sitter-core))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ (list emacs-tree-sitter-core))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "lisp"))))))
+ (home-page "https://github.com/emacs-tree-sitter/elisp-tree-sitter")
+ (synopsis "Tree-sitter bindings for Emacs Lisp")
+ (description "This package provides Emacs bindings for Tree-sitter, an
+incremental parsing library. It aims to be the foundation for a new breed of
+Emacs packages that understand code structurally. For example:
+
+@enumerate
+@item Faster, fine-grained code highlighting.
+@item More flexible code folding.
+@item Structural editing (like Paredit, or even better) for non-Lisp code.
+@item More informative indexing for imenu.
+@end enumerate")
+ (license license:expat)))
--
2.36.0
- [bug#49946] [PATCH v6 11/27] gnu: Add tree-sitter-go., (continued)
- [bug#49946] [PATCH v6 11/27] gnu: Add tree-sitter-go., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 13/27] gnu: Add tree-sitter-java., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 15/27] gnu: Add tree-sitter-json., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 16/27] gnu: Add tree-sitter-julia., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 18/27] gnu: Add tree-sitter-php., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 12/27] gnu: Add tree-sitter-html., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 17/27] gnu: Add tree-sitter-ocaml., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 25/27] gnu: Add emacs-tree-sitter-core., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 20/27] gnu: Add tree-sitter-ruby., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 22/27] gnu: Add tree-sitter-typescript., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 26/27] gnu: Add emacs-tree-sitter.,
Pierre Langlois <=
- [bug#49946] [PATCH v6 14/27] gnu: Add tree-sitter-javascript., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 19/27] gnu: Add tree-sitter-python., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 27/27] gnu: Add emacs-tree-sitter-langs., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 21/27] gnu: Add tree-sitter-rust., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 24/27] gnu: Add rust-tree-sitter-for-emacs., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 23/27] gnu: Add rust-tree-sitter., Pierre Langlois, 2022/05/15
- Message not available