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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user