feat!: use tree-sitter build

This commit is contained in:
Christian Clason 2024-04-22 19:56:30 +02:00
parent c17de56890
commit 214cfcf851
13 changed files with 443 additions and 898 deletions

View file

@ -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

View file

@ -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 '')