nvim-treesitter/lua
Santos Gallegos 9c456edb3a Incremental selection: fix skipping some nodes
The range from ts nodes are a little different than
neovim's nodes. They start at 0 and the end is exclusive.
For example, a nvim range (1, 3, 2, 4) is the equivalent to the ts
range (0, 2, 1, 4).

Since we may hit parent nodes that have the same range as its child,
we skip those till we find one that actually changes the selection
(since this is the relevant part for the user).

Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/232
2020-09-07 18:24:55 +02:00
..
nvim-treesitter Incremental selection: fix skipping some nodes 2020-09-07 18:24:55 +02:00
nvim-treesitter.lua Add warning about required Neovim version 2020-09-03 15:33:18 +02:00