[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49946] [WIP PATCH v3 25/26] gnu: Add emacs-tree-sitter.
From: |
Pierre Langlois |
Subject: |
[bug#49946] [WIP PATCH v3 25/26] gnu: Add emacs-tree-sitter. |
Date: |
Thu, 10 Feb 2022 22:55:26 +0000 |
* 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 893c02824d..b412f3d031 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -698,3 +698,30 @@ (module (string-append (assoc-ref inputs
"tree-sitter-emacs-module")
(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.34.0
- [bug#49946] [WIP PATCH v3 15/26] gnu: Add tree-sitter-julia., (continued)
- [bug#49946] [WIP PATCH v3 15/26] gnu: Add tree-sitter-julia., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 22/26] gnu: rust-emacs-macros: Update to 0.17., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 24/26] gnu: Add emacs-tree-sitter-core., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 02/26] gnu: Add rust-html-escape., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 17/26] gnu: Add tree-sitter-python., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 18/26] gnu: Add tree-sitter-rust., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 21/26] gnu: rust-emacs-module: Update to 0.18., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 19/26] gnu: Add tree-sitter-typescript., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 26/26] gnu: Add emacs-tree-sitter-langs., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 23/26] gnu: rust-emacs: Update to 0.18., Pierre Langlois, 2022/02/10
- [bug#49946] [WIP PATCH v3 25/26] gnu: Add emacs-tree-sitter.,
Pierre Langlois <=
- [bug#49946] [PATCH v4 00/31] gnu: Add tree-sitter for emacs., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 01/31] gnu: Add rust-smallbitvec., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 03/31] gnu: Add rust-spin@0.7., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 02/31] gnu: Add rust-html-escape., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 08/31] gnu: Add tree-sitter-bash., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 09/31] gnu: Add tree-sitter-css., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 14/31] gnu: Add tree-sitter-html., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 05/31] gnu: Add tree-sitter-cli., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 04/31] gnu: Add tree-sitter., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 10/31] gnu: Add tree-sitter-c-sharp., Pierre Langlois, 2022/02/18