mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
feat!: drop support for Nvim 0.11
This commit is contained in:
parent
90cd6580e7
commit
c82bf96f0a
2 changed files with 3 additions and 9 deletions
|
|
@ -168,13 +168,7 @@ function M.norm_languages(languages, skip)
|
|||
end
|
||||
end
|
||||
|
||||
-- TODO(clason): remove Nvim 0.11 compat
|
||||
if vim.list then
|
||||
return vim.list.unique(languages)
|
||||
else
|
||||
table.sort(languages)
|
||||
return vim.fn.uniq(languages) --[=[@as string[] ]=]
|
||||
end
|
||||
return vim.list.unique(languages)
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@ local function install_health()
|
|||
health.start('Requirements')
|
||||
|
||||
do -- nvim check
|
||||
if vim.fn.has('nvim-0.11') ~= 1 then
|
||||
health.error('Nvim-treesitter requires Neovim 0.11.0 or later.')
|
||||
if vim.fn.has('nvim-0.12') ~= 1 then
|
||||
health.error('Nvim-treesitter requires Neovim 0.12.0 or later.')
|
||||
end
|
||||
|
||||
if vim.treesitter.language_version >= NVIM_TREESITTER_MINIMUM_ABI then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue