From d31323db3fa4a33d203dcb05150d98bd0153c42c Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Thu, 15 Aug 2024 21:48:37 -0700 Subject: refactor!: Require Neovim 0.10+ --- .github/workflows/tests.yml | 1 - README.md | 2 +- lua/conform/init.lua | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 47ecc80..fabba6b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -50,7 +50,6 @@ jobs: strategy: matrix: include: - - nvim_tag: v0.9.4 - nvim_tag: v0.10.0 name: Run tests diff --git a/README.md b/README.md index ac69ec1..4722e73 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Lightweight yet powerful formatter plugin for Neovim ## Requirements -- Neovim 0.9+ (for older versions, use a [nvim-0.x branch](https://github.com/stevearc/conform.nvim/branches)) +- Neovim 0.10+ (for older versions, use a [nvim-0.x branch](https://github.com/stevearc/conform.nvim/branches)) ## Features diff --git a/lua/conform/init.lua b/lua/conform/init.lua index 152ebbc..a8f2255 100644 --- a/lua/conform/init.lua +++ b/lua/conform/init.lua @@ -52,8 +52,8 @@ end ---@param opts? conform.setupOpts M.setup = function(opts) - if vim.fn.has("nvim-0.9") == 0 then - notify("conform.nvim requires Neovim 0.9+", vim.log.levels.ERROR) + if vim.fn.has("nvim-0.10") == 0 then + notify("conform.nvim requires Neovim 0.10+", vim.log.levels.ERROR) return end opts = opts or {} -- cgit v1.2.3-70-g09d2