module: add :tools tree-sitter

This module installs 'tree-sitter' and 'tree-sitter-langs' as well as
the 'evil-textobj-treesitter' and configures them.

This module is based on the prototype module that @hlissner has started
and I am just fleshing out that work.

It also comes with a README file

Fix: #4151
This commit is contained in:
Jeetaditya Chatterjee 2021-08-21 21:19:27 +01:00
parent 8a27eb99be
commit 862e7980d8
No known key found for this signature in database
GPG key ID: 09D54CECD2132B91
4 changed files with 152 additions and 0 deletions

View file

@ -0,0 +1,13 @@
;; -*- no-byte-compile: t; -*-
;;; tools/tree-sitter/packages.el
(package! tree-sitter
;; :ignore (null (bound-and-true-p module-file-suffix))
:pin "c7a1c34549cad41a3618c6f17e0e9dabd3e98fe1")
(package! tree-sitter-langs
;; :ignore (null (bound-and-true-p module-file-suffix))
:pin "e7b8db7c4006c04a4bc1fc6865ec31f223843192")
(when (featurep! :editor evil +everywhere)
(package! evil-textobj-tree-sitter
:pin "f20598676f99e6fa33759d9807e94f42271c0dfb"))