bumpup minium neovim requirement to 0.9

This commit is contained in:
ray-x 2023-05-30 16:25:36 +10:00
parent 915d5a02b9
commit 9fc0312c1a
3 changed files with 5 additions and 5 deletions

View File

@ -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:

View File

@ -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

View File

@ -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()