mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
fix(matches): better storage of nodes
This commit is contained in:
parent
6cab5c2d75
commit
51ca6a5069
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ function M.iter_prepared_matches(query, qnode, bufnr, start_row, end_row)
|
|||
local name = query.captures[id] -- name of the capture in the query
|
||||
if name ~= nil then
|
||||
local path = split(name)
|
||||
insert_to_path(prepared_match, path, node)
|
||||
insert_to_path(prepared_match, path, { node=node })
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue