neovim/runtime/lua
Jongwook Choi a478bf936b feat(treesitter): use 0-based indexing to show ranges in :InspectTree
Problem:

- `:InspectTree` was showing node ranges in 1-based indexing, i.e., in
  vim cursor position (lnum, col). However, treesitter API adopts
  0-based indexing to represent ranges (Range4). This can often be
  confusing for developers and plugin authors when debugging code
  written with treesiter APIs.

Solution:

- Change to 0-based indexing from 1-based indexing to show node ranges
  in `:InspectTree`.

- Note: To make things not complicated, we do not provide an option or
  keymap to configure which indexing mode to use.
2024-02-05 16:23:22 -05:00
..
nvim fix(health): check more "old" files 2024-01-28 23:56:03 +01:00
provider refactor: create function for deferred loading 2024-02-03 16:53:41 +01:00
vim feat(treesitter): use 0-based indexing to show ranges in :InspectTree 2024-02-05 16:23:22 -05:00
_vim9script.lua feat(lua): rename vim.loop -> vim.uv (#22846) 2023-06-03 12:06:00 +02:00
coxpcall.lua build(lua): vendor coxpcall 2023-09-10 11:43:37 +02:00
editorconfig.lua fix(editorconfig): do not set 'endofline' 2023-08-27 19:27:25 +01:00
man.lua docs: small fixes 2024-01-02 22:00:06 +01:00