22 releases (5 stable)

1.1.2 Jul 8, 2024
0.6.0 Apr 17, 2024
0.5.4 Feb 21, 2024
0.5.2 Dec 3, 2023
0.3.0 Jun 8, 2023

#18 in Text editors

Download history 78/week @ 2024-03-31 157/week @ 2024-04-14 14/week @ 2024-04-21 1/week @ 2024-04-28 16/week @ 2024-05-12 5/week @ 2024-05-19 5/week @ 2024-06-02 153/week @ 2024-06-09 496/week @ 2024-06-16 30/week @ 2024-06-23 8/week @ 2024-06-30 154/week @ 2024-07-07

695 downloads per month


3.5K SLoC


This is a binary server that interfaces tree-sitter with kakoune.

Important note: by default, no colorscheme supporting tree-sitter is set for you. You have to pick one or write your own. See this section from the man for further information.



  • Semantic highlighting.
    • Automatically detects whether a buffer language type can be highlighted.
    • Removes any default highlighter and replaces them with a tree-sitter based.
  • Semantic selections (types, functions, parameters, comments, tests, etc.)
    • Similar features to f, ?, <a-/>, etc.
    • Full object mode support (i.e. <a-i>, {, <a-]>, etc.)
  • Indents
  • Indent guidelines
  • Incremental parsing
  • Fetch, compile and install grammars / queries with ease (via the use of the ktsctl controller companion)
  • Ships with no mappings, defined options, but allows to use well-crafted values, user-modes, mappings and commands by picking them by hand.
  • Transformation-oriented; actual data (i.e. grammars, queries, etc.) can be used from any sources.
  • Shell completions.

User manual

See the User manual to know how to install, use, configure and get runtime resources.


Whether you want to fix a bug, make a feature request, help improving something or add support for a new language by changing the default configuration, you should read the CONTRIBUTING.md file.


This program was inspired by:


~263K SLoC