diff options
author | Steven Arcangeli <stevearc@stevearc.com> | 2024-08-15 21:48:37 -0700 |
---|---|---|
committer | Steven Arcangeli <stevearc@stevearc.com> | 2024-08-16 15:16:27 -0700 |
commit | d31323db3fa4a33d203dcb05150d98bd0153c42c (patch) | |
tree | ede340a69372354cc5f21101a7d52399a8486501 | |
parent | 97baa4846ddb8c79644ef01dcec417086e24a17c (diff) |
refactor!: Require Neovim 0.10+
-rw-r--r-- | .github/workflows/tests.yml | 1 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | 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 @@ -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 {} |