mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -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
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue