5 unstable releases
0.3.2 | Sep 4, 2023 |
---|---|
0.3.1 | Aug 31, 2023 |
0.3.0 | Aug 26, 2023 |
0.2.0 | Jun 8, 2023 |
0.1.0 | May 24, 2023 |
#76 in Text editors
78 downloads per month
20KB
413 lines
ktsctl, kak-tree-sitter
CLI controller
ktsctl
is, as the name implies, a controller for kak-tree-sitter
. It’s the tool you should be using to interact
with the data files kak-tree-sitter
will be using to operate correctly (grammars, queries, etc.).
Special note
ktsctl
is optional, it is not mandatory to use it to use kak-tree-sitter
. However, it is highly recommended,
because it will perform boring operations for you automatically, and it comes with good defaults.
Features
- Automatically fetch online resources. It uses
git clone
(git
from your system) for that. It currently supports two types of resources:- Grammars.
- Queries.
- Compile and link grammars. Requires
cc
to be available on your system. - Install grammars and queries inside your data directories — in
$XDG_DATA_DIR/kak-tree-sitter
. - Share the same configuration file as
kak-tree-sitter
.
Dependencies
~2–13MB
~139K SLoC