bumpup minium neovim requirement to 0.9

pull/347/head
ray-x 1 year ago
parent 915d5a02b9
commit 9fc0312c1a

@ -19,7 +19,7 @@ jobs:
manager: sudo snap
packages: go
- os: ubuntu-22.04
url: https://github.com/neovim/neovim/releases/download/v0.8.3/nvim-linux64.tar.gz
url: https://github.com/neovim/neovim/releases/download/v0.9.1/nvim-linux64.tar.gz
manager: sudo snap
packages: go
steps:

@ -133,8 +133,8 @@ _GO_NVIM_CFG = {
-- TODO: nvim_{add,del}_user_command https://github.com/neovim/neovim/pull/16752
function go.setup(cfg)
if vim.fn.has('nvim-0.8') == 0 then
vim.notify('go.nvim master branch requires nvim 0.8', vim.log.levels.WARN)
if vim.fn.has('nvim-0.9') == 0 then
vim.notify('go.nvim master branch requires nvim 0.9', vim.log.levels.WARN)
end
cfg = cfg or {}
if cfg.max_len then

@ -141,8 +141,8 @@ local function env_check()
end
function M.check()
if vim.fn.has('nvim-0.8.3') == 0 then
warn('Suggested neovim version 0.8.3 or higher')
if vim.fn.has('nvim-0.9') == 0 then
warn('Suggested neovim version 0.9 or higher')
end
binary_check()
plugin_check()

Loading…
Cancel
Save