commit 192488379691a841144ac2ed42d8821d0359bf83
parent 4df11463b288a227a7052b7fd9c0a3f737a51c1e
Author: bfredl <bjorn.linse@gmail.com>
Date: Tue, 3 May 2022 20:18:15 +0200
Merge pull request #18397 from vigoux/fix/ts_match_limit
fix(treesitter): bump match limit up
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nvim/lua/treesitter.c b/src/nvim/lua/treesitter.c
@@ -1122,7 +1122,7 @@ static int node_rawquery(lua_State *L)
// TODO(clason): API introduced after tree-sitter release 0.19.5
// remove guard when minimum ts version is bumped to 0.19.6+
#ifdef NVIM_TS_HAS_SET_MATCH_LIMIT
- ts_query_cursor_set_match_limit(cursor, 32);
+ ts_query_cursor_set_match_limit(cursor, 64);
#endif
ts_query_cursor_exec(cursor, query, node);