From 9fc0312c1ae08c24ca730c6f7f836965be5c1922 Mon Sep 17 00:00:00 2001 From: ray-x Date: Tue, 30 May 2023 16:25:36 +1000 Subject: [PATCH] bumpup minium neovim requirement to 0.9 --- .github/workflows/ci.yml | 2 +- lua/go.lua | 4 ++-- lua/go/health.lua | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b6b1c3..2b2a335 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/lua/go.lua b/lua/go.lua index 78216ce..5b0eea8 100644 --- a/lua/go.lua +++ b/lua/go.lua @@ -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 diff --git a/lua/go/health.lua b/lua/go/health.lua index 7628938..04795e5 100644 --- a/lua/go/health.lua +++ b/lua/go/health.lua @@ -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()