mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
feat(install)!: always generate from json if possible
This commit is contained in:
parent
522e0c6991
commit
bdc2e01958
6 changed files with 347 additions and 374 deletions
|
|
@ -16,8 +16,8 @@ table.sort(sorted_parsers, function(a, b)
|
|||
end)
|
||||
|
||||
local generated_text = [[
|
||||
Language | Tier | Queries | Maintainer
|
||||
-------- |:----:|:-------:| ----------
|
||||
Language | Tier | Queries | Node | Maintainer
|
||||
-------- |:----:|:-------:|:----:| ----------
|
||||
]]
|
||||
local footnotes = ''
|
||||
|
||||
|
|
@ -58,6 +58,11 @@ for _, v in ipairs(sorted_parsers) do
|
|||
.. (vim.uv.fs_stat('runtime/queries/' .. v.name .. '/locals.scm') and 'L' or ' ')
|
||||
.. '` | '
|
||||
|
||||
-- node
|
||||
generated_text = generated_text
|
||||
.. (p.install_info and p.install_info.generate_from_json == false and 'X' 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