feat(parsers): rework tiers

* stable: updates follow semver releases (todo)
* unstable: updates follow HEAD (default)
* unmaintained: no automatic updates
* unsupported: no updates, cannot be installed
This commit is contained in:
Christian Clason 2025-02-09 13:19:34 +01:00
parent 188bbf7a09
commit a9f34d5a76
9 changed files with 569 additions and 571 deletions

View file

@ -35,7 +35,7 @@ error('Cannot require a meta file')
---List of other languages to install (e.g., if queries inherit from them)
---@field requires? string[]
---
---Language support tier, maps to "core", "stable", "community", "unmaintained"
---Language support tier, maps to "stable", "unstable", "unmaintained", "unsupported"
---@field tier integer
---
---Explanatory footnote text to add in SUPPORTED_LANGUAGES.md

View file

@ -1,6 +1,6 @@
local M = {}
M.tiers = { 'stable', 'core', 'community', 'unsupported' }
M.tiers = { 'stable', 'unstable', 'unmaintained', 'unsupported' }
---@class TSConfig
---@field ensure_install string[]
@ -10,7 +10,7 @@ M.tiers = { 'stable', 'core', 'community', 'unsupported' }
---@type TSConfig
local config = {
ensure_install = {},
ignore_install = { 'unsupported' },
ignore_install = {},
install_dir = vim.fs.joinpath(vim.fn.stdpath('data'), 'site'),
}

File diff suppressed because it is too large Load diff