mirror of
https://github.com/neovim/neovim.git
synced 2026-02-17 17:08:31 +00:00
feat(treesitter): add folding for InspectTree (#27518)
As the InspectTree buffer is now a valid tree-sitter query tree, we can use the bundled fold queries to have folding for the tree.
This commit is contained in:
@@ -461,7 +461,8 @@ end
|
||||
---
|
||||
--- While in the window, press "a" to toggle display of anonymous nodes, "I" to toggle the
|
||||
--- display of the source language of each node, "o" to toggle the query editor, and press
|
||||
--- <Enter> to jump to the node under the cursor in the source buffer.
|
||||
--- <Enter> to jump to the node under the cursor in the source buffer. Folding also works
|
||||
--- (try |zo|, |zc|, etc.).
|
||||
---
|
||||
--- Can also be shown with `:InspectTree`. *:InspectTree*
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user