chore!: deprecate ensure_installed=maintained

BREAKING CHANGE: specify explicit list or use `ensure_installed='all'`
(not recommended)
This commit is contained in:
Christian Clason 2022-04-09 11:50:54 +02:00 committed by Christian Clason
parent a5728b36e4
commit acd01551a3
3 changed files with 14 additions and 11 deletions

View file

@ -39,13 +39,13 @@ To enable supported features, put this in your `init.lua` file:
>
require'nvim-treesitter.configs'.setup {
-- One of "all", "maintained" (parsers with maintainers), or a list of languages
ensure_installed = "maintained",
-- A list of parser names, or "all"
ensure_installed = { "c", "lua", "rust" },
-- Install languages synchronously (only applied to `ensure_installed`)
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
-- List of parsers to ignore installing
-- List of parsers to ignore installing (for "all")
ignore_install = { "javascript" },
highlight = {