Skip to content
Discussion options

You must be logged in to vote

On top of this, I'd draw extra attention to making sure that tree-sitter is actually used in specified languages. On the latest 'nvim-treesitter/nvim-treesitter' those are not automatically enabled and require explicit vim.treesitter.start() Lua call. I.e. execute :lua vim.treesitter.start() and see if it makes textobjects work (or at least highlighting will likely have changed). The links above show the setup that can do this automatically.

The posted config doesn't show it, so my guess would be to first check this.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@echasnovski
Comment options

Answer selected by KismetPartisan
@KismetPartisan
Comment options

@drowning-cat
Comment options

@echasnovski
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.ai
4 participants