3 ms·
Upgrading from 0.11 was relatively painless, except for nvim-treesitter, which pretty much became a new plugin. The previous version lives in the master branch,
by maleldil 7mo ago
Upgrading from 0.11 was relatively painless, except for nvim-treesitter, which pretty much became a new plugin. The previous version lives in the master branch, but doesn't support 0.12 at all, so you need to use the main branch when updating.
Most of the previous features are replicable with new code, except for incremental selection. treesitter-modules[1] serves as a good bridge between old and new APIs.
[1] https://github.com/MeanderingProgrammer/treesitter-modules.nvim https://github.com/MeanderingProgrammer/treesitter-modules.n...
- justinmk 7mo agoIncremental selection is available by default in Nvim 0.12, see `:help v_in`.
- maleldil 7mo agoYes, I found out about that after my comment. It's a little unfortunate that I need to remap `van` itself instead of a function/command, but it works, and there's a PR to expose the function publicly. Note that this might conflict with some text-object plugins, such as mini.ai, which define an/in by default.