break: bump the minimum required neovim version to 0.6 or higher (#1549)

So we can use `vim.json` and `vim.diagnostics`.

If you aren't able to update to 0.6.* yet you should pin the previous commit.
This commit is contained in:
Simon Hauser
2021-12-10 16:32:28 +01:00
committed by GitHub
parent 80cdb00b22
commit 61240ac75a
9 changed files with 29 additions and 24 deletions

View File

@@ -26,8 +26,8 @@
--- </code>
---@brief ]]
if 1 ~= vim.fn.has "nvim-0.5.1" then
vim.api.nvim_err_writeln "This plugins requires neovim 0.5.1"
if 1 ~= vim.fn.has "nvim-0.6.0" then
vim.api.nvim_err_writeln "This plugins requires neovim 0.6.0"
vim.api.nvim_err_writeln "Please update your neovim."
return
end