Vim plugin relying on tree-sitter for advanced source code features.
This plugin is experimental, is encouraged to use neovim tree-sitter plugin implementation
- code folding
- :TSHShowAST — open a scratch vertical split showing the AST for the current buffer
- :TSHSelectNode — visually select the smallest named tree-sitter node under the cursor
- :TSHNextSym / :TSHPrevSym — jump to the next / previous function/class-like symbol
- Vim 8.x
- Python 3
- Python packages:
- pip install tree-sitter
- and for each language either install the language package:
- pip install tree-sitter-python
- pip install tree-sitter-yaml
- pip install tree-sitter-javascript
- ... (module names follow tree_sitter_)