diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/treesit.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/treesit.c b/src/treesit.c index e4be065d94a..9324b8b1006 100644 --- a/src/treesit.c +++ b/src/treesit.c | |||
| @@ -2178,8 +2178,10 @@ either string or sexp form. When using repeatedly, a compiled query | |||
| 2178 | is much faster than a string or sexp one, so it is recommend to | 2178 | is much faster than a string or sexp one, so it is recommend to |
| 2179 | compile your query if it will be used repeatedly. | 2179 | compile your query if it will be used repeatedly. |
| 2180 | 2180 | ||
| 2181 | BEG and END, if both non-nil, specify the region of buffer positions | 2181 | BEG and END, if both non-nil, specify the region of buffer positions |
| 2182 | in which the query is executed. | 2182 | in which the query is executed. Any matching node whose span overlaps |
| 2183 | with the region between BEG and END are captured, it doesn't have to | ||
| 2184 | be completely in the region. | ||
| 2183 | 2185 | ||
| 2184 | If NODE-ONLY is non-nil, return a list of nodes. | 2186 | If NODE-ONLY is non-nil, return a list of nodes. |
| 2185 | 2187 | ||