Expand description
A tree-sitter implementation for Duat
duat-treesitter currently does two things:
- Syntax highlighting
- Indentation calculation
§Installation
Just like other Duat plugins, this one can be installed by calling
cargo add in the config directory:
cargo add duat-treesitter@"*"Or, if you are using a --git-deps version of duat, do this:
cargo add --git https://github.com/AhoyISki/duat-treesitterBut this is a default plugin, so you most likely won’t have to do that.
Structs§
- Tree
Sitter - The tree-sitter plugin for Duat
- TsParser
Parserthat parsesBuffer’s as tree-sitter syntax trees