mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
feat!: use tree-sitter build
This commit is contained in:
parent
c17de56890
commit
214cfcf851
13 changed files with 443 additions and 898 deletions
|
|
@ -9,6 +9,7 @@ local lockfile = vim.json.decode(util.read_file(filename)) --[[@as table<string,
|
|||
for k, p in pairs(parsers) do
|
||||
if p.install_info then
|
||||
p.install_info.revision = lockfile[k].revision
|
||||
p.install_info.files = nil
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ table.sort(sorted_parsers, function(a, b)
|
|||
end)
|
||||
|
||||
local generated_text = [[
|
||||
Language | Tier | Queries | CLI | Maintainer
|
||||
-------- |:----:|:-------:|:---:| ----------
|
||||
Language | Tier | Queries | Maintainer
|
||||
-------- |:----:|:-------:| ----------
|
||||
]]
|
||||
local footnotes = ''
|
||||
|
||||
|
|
@ -58,11 +58,6 @@ for _, v in ipairs(sorted_parsers) do
|
|||
.. (vim.uv.fs_stat('runtime/queries/' .. v.name .. '/locals.scm') and 'L' or ' ')
|
||||
.. '` | '
|
||||
|
||||
-- CLI
|
||||
generated_text = generated_text
|
||||
.. (p.install_info and p.install_info.generate and '✓' or '')
|
||||
.. ' | '
|
||||
|
||||
-- Maintainer
|
||||
generated_text = generated_text
|
||||
.. (p.maintainers and table.concat(p.maintainers, ', ') or '')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue