mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
fix(query): explicitly opt-in to legacy behavior (#7101)
This commit is contained in:
parent
95933209d4
commit
fd9663acca
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ function M.iter_prepared_matches(query, qnode, bufnr, start_row, end_row)
|
|||
return t
|
||||
end
|
||||
|
||||
local matches = query:iter_matches(qnode, bufnr, start_row, end_row)
|
||||
local matches = query:iter_matches(qnode, bufnr, start_row, end_row, { all = false })
|
||||
|
||||
local function iterator()
|
||||
local pattern, match, metadata = matches()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue