mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
fix(treesitter): return correct match table in iter_captures()
This commit is contained in:
committed by
Lewis Russell
parent
c4e1930851
commit
7d97150084
@@ -32,10 +32,11 @@ local M = {}
|
||||
--- first n arguments passed to {fn}.
|
||||
---
|
||||
--- @param fn F Function to memoize.
|
||||
--- @param strong? boolean Do not use a weak table
|
||||
--- @return F # Memoized version of {fn}
|
||||
--- @nodoc
|
||||
function M._memoize(hash, fn)
|
||||
return require('vim.func._memoize')(hash, fn)
|
||||
function M._memoize(hash, fn, strong)
|
||||
return require('vim.func._memoize')(hash, fn, strong)
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user