mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 20:10:10 -04:00
fix(install): skip tier 4 parsers when installing and updating
This commit is contained in:
parent
9365cf8a97
commit
328ee3db54
6 changed files with 51 additions and 40 deletions
|
|
@ -159,7 +159,7 @@ local function get_root(bufnr)
|
|||
end
|
||||
|
||||
---@param bufnr integer: the buffer
|
||||
---@return Query|nil query: `locals` query
|
||||
---@return vim.treesitter.Query|nil query: `locals` query
|
||||
---@return TSNode|nil root: root node of the bufferocal function get_query(bufnr)
|
||||
local function get_query(bufnr)
|
||||
local root = get_root(bufnr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue