diff options
author | “jvgrootveld” <“justin.vangrootveld@gmail.com”> | 2021-01-15 21:44:40 +0100 |
---|---|---|
committer | “jvgrootveld” <“justin.vangrootveld@gmail.com”> | 2021-01-15 21:44:40 +0100 |
commit | a2818819bb5afc3283e935727d5a1b0e9d1cf6b3 (patch) | |
tree | 2427250f0453c01faa3d69a9c1a353cedbb01971 /src/nvim/api/buffer.c | |
parent | 0fad952a2b7d90d2c3215e8e3c50ae62233e2158 (diff) | |
download | rneovim-a2818819bb5afc3283e935727d5a1b0e9d1cf6b3.tar.gz rneovim-a2818819bb5afc3283e935727d5a1b0e9d1cf6b3.tar.bz2 rneovim-a2818819bb5afc3283e935727d5a1b0e9d1cf6b3.zip |
treesitter: default start and end row when omitted
Add support for default start and end row when omitted in the
query:iter_captures and query:iter_matches functions.
When the start and end row values are omitted, the values of the given
node is used. The end row value is incremented by 1 to include the node end
row in the match.
Updated tests and docs accordingly.
Diffstat (limited to 'src/nvim/api/buffer.c')
0 files changed, 0 insertions, 0 deletions