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

@ -53,11 +53,11 @@ require('lazy').setup(
```lua
require'nvim-treesitter'.setup {
-- A list of parser names or tiers ('stable', 'core', 'community', 'unsupported')
ensure_install = { },
-- A list of parser names or tiers ('stable', 'unstable')
ensure_install = { 'stable' },
-- List of parsers to ignore installing
ignore_install = { 'unsupported' },
-- List of parsers to ignore when installing tiers
ignore_install = { 'rust' },
-- Directory to install parsers and queries to
install_dir = vim.fn.stdpath('data') .. '/site'