From 6a8fbb53e01f9c523a68fb1eb06a346e43db720d Mon Sep 17 00:00:00 2001 From: Julian Fricker <402357+TC72@users.noreply.github.com> Date: Thu, 4 Nov 2021 06:20:17 +0000 Subject: [PATCH] breaking: bump nvim version requirement to 0.5.1 (#1406) --- .github/workflows/ci.yml | 4 ++-- README.md | 2 +- lua/telescope/builtin/init.lua | 4 ++-- plugin/telescope.vim | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54a05d9..987b938 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: manager: sudo apt-get packages: -y fd-find - os: ubuntu-20.04 - url: https://github.com/neovim/neovim/releases/download/v0.5.0/nvim-linux64.tar.gz + url: https://github.com/neovim/neovim/releases/download/v0.5.1/nvim-linux64.tar.gz manager: sudo apt-get packages: -y fd-find - os: macos-10.15 @@ -23,7 +23,7 @@ jobs: manager: brew packages: fd - os: macos-10.15 - url: https://github.com/neovim/neovim/releases/download/v0.5.0/nvim-macos.tar.gz + url: https://github.com/neovim/neovim/releases/download/v0.5.1/nvim-macos.tar.gz manager: brew packages: fd steps: diff --git a/README.md b/README.md index 3851384..91d857d 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Telescope Wiki This section should guide you to run your first builtin pickers. -[Neovim (v0.5)](https://github.com/neovim/neovim/releases/tag/v0.5.0) or newer +[Neovim (v0.5.1)](https://github.com/neovim/neovim/releases/tag/v0.5.1) or newer is required for `telescope.nvim` to work. ### Suggested dependencies diff --git a/lua/telescope/builtin/init.lua b/lua/telescope/builtin/init.lua index 614767a..0a69aae 100644 --- a/lua/telescope/builtin/init.lua +++ b/lua/telescope/builtin/init.lua @@ -26,8 +26,8 @@ --- ---@brief ]] -if 1 ~= vim.fn.has "nvim-0.5" then - vim.api.nvim_err_writeln "This plugins requires neovim 0.5" +if 1 ~= vim.fn.has "nvim-0.5.1" then + vim.api.nvim_err_writeln "This plugins requires neovim 0.5.1" vim.api.nvim_err_writeln "Please update your neovim." return end diff --git a/plugin/telescope.vim b/plugin/telescope.vim index 095a1ad..748676f 100644 --- a/plugin/telescope.vim +++ b/plugin/telescope.vim @@ -1,5 +1,5 @@ -if !has('nvim-0.5') - echoerr "Telescope.nvim requires at least nvim-0.5. Please update or uninstall" +if !has('nvim-0.5.1') + echoerr "Telescope.nvim requires at least nvim-0.5.1. Please update or uninstall" finish end