mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-12-25 12:14:19 +01:00
feat!: bump Neovim requirement to 0.11.2
This commit is contained in:
6
NEWS.md
6
NEWS.md
@@ -2,13 +2,13 @@
|
||||
|
||||
## 15.x
|
||||
|
||||
**Neovim** `>= 0.11.0` includes a lot of changes to the underlying LSP implementation.
|
||||
**Neovim** `>= 0.11.2` includes a lot of changes to the underlying LSP implementation.
|
||||
|
||||
Going forward, **LazyVim** requires **Neovim** `>= 0.11.0`, and drops support for older versions.
|
||||
Going forward, **LazyVim** requires **Neovim** `>= 0.11.2`, and drops support for older versions.
|
||||
|
||||
### Changes
|
||||
|
||||
- removed compatibility code for Neovim `< 0.11`
|
||||
- removed compatibility code for Neovim `< 0.11.2`
|
||||
- updated all LSP code to use the new LSP implementation
|
||||
- migrated **mason.nvim** and **mason-lspconfig.nvim** to `v2.x`
|
||||
- added new `treesitter-main` extra to test the new `main` branch of `nvim-treesitter`
|
||||
|
||||
@@ -56,7 +56,7 @@ to tweak your config as needed, along with the convenience of a pre-configured s
|
||||
|
||||
## ⚡️ Requirements
|
||||
|
||||
- Neovim >= **0.11.0** (needs to be built with **LuaJIT**)
|
||||
- Neovim >= **0.11.2** (needs to be built with **LuaJIT**)
|
||||
- Git >= **2.19.0** (for partial clones support)
|
||||
- a [Nerd Font](https://www.nerdfonts.com/) **_(optional)_**
|
||||
- a **C** compiler for `nvim-treesitter`. See [here](https://github.com/nvim-treesitter/nvim-treesitter#requirements)
|
||||
|
||||
@@ -8,10 +8,10 @@ local error = vim.health.error or vim.health.report_error
|
||||
function M.check()
|
||||
start("LazyVim")
|
||||
|
||||
if vim.fn.has("nvim-0.11.0") == 1 then
|
||||
ok("Using Neovim >= 0.11.0")
|
||||
if vim.fn.has("nvim-0.11.2") == 1 then
|
||||
ok("Using Neovim >= 0.11.2")
|
||||
else
|
||||
error("Neovim >= 0.11.0 is required")
|
||||
error("Neovim >= 0.11.2 is required")
|
||||
end
|
||||
|
||||
for _, cmd in ipairs({ "git", "rg", { "fd", "fdfind" }, "lazygit", "fzf", "curl" }) do
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
if vim.fn.has("nvim-0.11.0") == 0 then
|
||||
if vim.fn.has("nvim-0.11.2") == 0 then
|
||||
vim.api.nvim_echo({
|
||||
{ "LazyVim requires Neovim >= 0.11.0\n", "ErrorMsg" },
|
||||
{ "LazyVim requires Neovim >= 0.11.2\n", "ErrorMsg" },
|
||||
{ "For more info, see: https://github.com/LazyVim/LazyVim/issues/6421\n", "Comment" },
|
||||
{ "Press any key to exit", "MoreMsg" },
|
||||
}, true, {})
|
||||
|
||||
Reference in New Issue
Block a user