~hadronized/kak-tree-sitter

tree-sitter meets Kakoune
Revert "[kak-tree-sitter] Remove the UUID sentinel and replace it with NUL."
[kak-tree-sitter] Remove the UUID sentinel and replace it with NUL.
Modify the CONTRIBUTING guidelines to make them easier to read.

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~hadronized/kak-tree-sitter
read/write
git@git.sr.ht:~hadronized/kak-tree-sitter

You can also use your local clone with git send-email.

#kak-tree-sitter

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.

asciicast

#Features

  • [x] Semantic highlighting.
    • Automatically detects whether a buffer language type can be highlighted.
    • Removes any default highlighter and replaces them with a tree-sitter based.
  • [x] 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
  • [x] Fetch, compile and install grammars / queries with ease (via the use of the ktsctl controller companion)
  • [x] Ships with no mappings, defined options, but allows to use well-crafted values, user-modes, mappings and commands by picking them by hand.
  • [x] Transformation-oriented; actual data (i.e. grammars, queries, etc.) can be used from any sources.
  • [x] Shell completions.

#User manual

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

#Contributing

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.

#Chat

Feel free to join #kts on the libera.chat IRC network.

#Credits

This program was inspired by: