mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 13:30:01 -04:00
chore!: deprecate ensure_installed=maintained
BREAKING CHANGE: specify explicit list or use `ensure_installed='all'` (not recommended)
This commit is contained in:
parent
a5728b36e4
commit
acd01551a3
3 changed files with 14 additions and 11 deletions
|
|
@ -1042,6 +1042,10 @@ function M.available_parsers()
|
|||
end
|
||||
|
||||
function M.maintained_parsers()
|
||||
require("nvim-treesitter.utils").notify(
|
||||
"ensure_installed='maintained' will be removed April 30, 2022. Specify parsers explicitly or use 'all'.",
|
||||
vim.log.levels.WARN
|
||||
)
|
||||
local has_tree_sitter_cli = vim.fn.executable "tree-sitter" == 1 and vim.fn.executable "node" == 1
|
||||
return vim.tbl_filter(function(lang)
|
||||
return M.list[lang].maintainers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue