diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2025-01-06 07:09:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-06 07:09:34 -0800 |
commit | 3d9fb975b957c12d412ddc508998cf59aac2a4d7 (patch) | |
tree | 673b598c36c90019cb2dfcb03c4b7dab0e1120da /test/functional/treesitter | |
parent | 86770108e2c6e08c2b8b95f1611923ba99b854dd (diff) | |
parent | dd234135ad20119917831fd8ffcb19d8562022ca (diff) | |
download | rneovim-3d9fb975b957c12d412ddc508998cf59aac2a4d7.tar.gz rneovim-3d9fb975b957c12d412ddc508998cf59aac2a4d7.tar.bz2 rneovim-3d9fb975b957c12d412ddc508998cf59aac2a4d7.zip |
Merge #31625 perf(decor): improve iter_captures() cache
Diffstat (limited to 'test/functional/treesitter')
-rw-r--r-- | test/functional/treesitter/query_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/treesitter/query_spec.lua b/test/functional/treesitter/query_spec.lua index 634f8af83d..6e21ed1d99 100644 --- a/test/functional/treesitter/query_spec.lua +++ b/test/functional/treesitter/query_spec.lua @@ -835,9 +835,9 @@ void ui_refresh(void) local result = exec_lua(function() local query0 = vim.treesitter.query.parse('c', query) - local match_preds = query0.match_preds + local match_preds = query0._match_predicates local called = 0 - function query0:match_preds(...) + function query0:_match_predicates(...) called = called + 1 return match_preds(self, ...) end |