Files
neovim/runtime/lua/vim
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
..
2023-09-20 13:42:41 +01:00
2024-01-23 11:45:17 +00:00
2023-12-30 17:40:53 +01:00
2024-01-16 09:33:10 +00:00
2023-09-14 08:23:01 -05:00
2023-09-20 13:42:41 +01:00
2024-01-19 11:54:04 +00:00
2024-01-03 19:17:52 +00:00
2023-12-30 17:40:53 +01:00
2023-09-23 23:46:45 +01:00
2023-12-30 17:40:53 +01:00
2023-09-23 23:46:45 +01:00