Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | feat(treesitter): add 'lang' option to show_tree() (#21341) | Gregory Anders | 2022-12-08 |
| | | | | This is necessary for now to support filetypes that use a parser with a different name (e.g. the "terraform" filetype uses the "hcl" parser). | ||
* | feat(treesitter): add vim.treesitter.show_tree() (#21322) | Gregory Anders | 2022-12-08 |
Add a "show_tree" function to view a textual representation of the nodes in a language tree in a window. Moving the cursor in the window highlights the corresponding text in the source buffer, and moving the cursor in the source buffer highlights the corresponding nodes in the window. |