A tree-sitter implementation for Duat
duat-treesitter
currently does two things:
- Syntax highlighting
- Indentation calculation
Just like other Duat plugins, this one can be installed by calling
cargo add
in the config directory:
cargo add duat-treesitter@"*" --rename treesitter
Or, if you are using a --git-deps
version of duat, do this:
cargo add --git https://github.com/AhoyISki/duat-treesitter --rename treesitter
But this is a default plugin, so you most likely won’t have to do that.