mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user