mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
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:
parent
188bbf7a09
commit
a9f34d5a76
9 changed files with 569 additions and 571 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue