This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
How do you get the AST highlighted in visual mode like in the demo video? #16
Comments
You can use -- Visual Selection from Normal Mode
vim.keymap.set("n", "vx", '<cmd>STSSelectMasterNode<cr>', opts)
vim.keymap.set("n", "vn", '<cmd>STSSelectCurrentNode<cr>', opts)```
to achieve that. |
So it's supposed to show the AST indicators when pressing Even with I couldn't find it here: syntax-tree-surfer/lua/syntax-tree-surfer/init.lua Lines 51 to 64 in 8b707ab
EDIT: maybe just the colorscheme need to set bgcolor, let me try... |
OK, I figured it out, it's a feature of gruvbox: gruvbox-community/gruvbox#126 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://github.com/ziontee113/syntax-tree-surfer#navigate-around-your-document-based-on-treesitters-abstract-syntax-tree-step-into-step-out-step-over-step-back it's show when
random_array
is highlightedMine just looks like this:
Screen.Recording.2023-07-17.at.8.44.18.PM.mov
The text was updated successfully, but these errors were encountered: