build(deps): bump tree-sitter to HEAD - 0a1c4d846 (#24607)

adapt to breaking change in `ts_query_cursor_set_max_start_depth`
https://github.com/tree-sitter/tree-sitter/pull/2278
This commit is contained in:
Christian Clason
2023-08-08 14:57:06 +02:00
committed by GitHub
parent 37c58226a8
commit 2e824e89c1
2 changed files with 3 additions and 3 deletions

View File

@@ -1441,7 +1441,7 @@ static int node_rawquery(lua_State *L)
#ifdef NVIM_TS_HAS_SET_MAX_START_DEPTH
// reset the start depth
ts_query_cursor_set_max_start_depth(cursor, 0);
ts_query_cursor_set_max_start_depth(cursor, UINT32_MAX);
#endif
ts_query_cursor_set_match_limit(cursor, 256);
ts_query_cursor_exec(cursor, query, node);