diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2022-04-16 11:41:00 +0200 |
|---|---|---|
| committer | Christian Clason <christian.clason@uni-due.de> | 2022-04-30 11:42:46 +0200 |
| commit | bc25a6a5c4fd659bbf78ba0a2442ecf14eb00398 (patch) | |
| tree | 765ad28bc0745cbb0a4a41bea650a18d6d89ce88 /lua/nvim-treesitter/parsers.lua | |
| parent | 808473cfbb41ef07b57397100f3593d7a6aa788f (diff) | |
chore!: remove ensure_installed='maintained'
Removes all support (and tests) for the parser category "maintained", as
this is no longer a useful category.
BREAKING CHANGE: replace `ensure_installed='maintained'` by an explicit
list of parsers, or use `'all'` (not recommended).
Diffstat (limited to 'lua/nvim-treesitter/parsers.lua')
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 4ac58758..4a0e5208 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -1085,19 +1085,6 @@ function M.available_parsers() end 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 - and not M.list[lang].experimental - and (has_tree_sitter_cli or not M.list[lang].install_info.requires_generate_from_grammar) - end, M.available_parsers()) -end - function M.get_parser_configs() return M.list end |
