Files
neovim/runtime
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
..
2024-01-29 11:25:35 +08:00
2024-02-01 10:04:32 +01:00
2023-11-05 21:56:56 +01:00
2023-08-23 20:36:16 +01:00
2024-02-04 07:09:54 +08:00
2022-08-20 10:04:55 +02:00
2024-01-17 14:01:39 +08:00
2024-02-01 12:06:55 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-24 11:33:06 +09:00
2023-08-13 13:25:10 +01:00
2023-08-31 10:58:54 +02:00