#tree-sitter #kakoune

app ktsctl

CLI controler of kak-tree-sitter

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

Download history 24/week @ 2023-06-07 3/week @ 2023-06-14 4/week @ 2023-06-21 5/week @ 2023-06-28 5/week @ 2023-07-05 3/week @ 2023-07-12 1/week @ 2023-07-19 2/week @ 2023-07-26 2/week @ 2023-08-02 6/week @ 2023-08-09 4/week @ 2023-08-16 23/week @ 2023-08-23 45/week @ 2023-08-30 17/week @ 2023-09-06 5/week @ 2023-09-13 11/week @ 2023-09-20

78 downloads per month

BSD-3-Clause

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