From e059a4fa42f102f8a9aeb284a315fe7f7c5d88cc Mon Sep 17 00:00:00 2001 From: Matthew Leong Date: Wed, 30 Aug 2023 21:24:23 -0700 Subject: [PATCH] feat: bump min neovim version --- init.lua | 4 ++-- lua/cosmic/lsp/mappings.lua | 1 - readme.md | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index 3a625da..f356afe 100644 --- a/init.lua +++ b/init.lua @@ -1,5 +1,5 @@ -if vim.fn.has('nvim-0.9') == 0 then - error('Need Neovim v0.9+ in order to run Cosmic!') +if vim.fn.has('nvim-0.10') == 0 then + error('Need Neovim v0.10+ in order to run Cosmic!') end local ok, err = pcall(require, 'cosmic') diff --git a/lua/cosmic/lsp/mappings.lua b/lua/cosmic/lsp/mappings.lua index a32adc9..150aced 100644 --- a/lua/cosmic/lsp/mappings.lua +++ b/lua/cosmic/lsp/mappings.lua @@ -1,7 +1,6 @@ local utils = require('cosmic.utils') local lsp_utils = require('cosmic.utils.lsp') local user_config = require('cosmic.core.user') -local Logger = require('cosmic.utils.logger') local M = {} local function toggle_inlay_hints(bufnr) diff --git a/readme.md b/readme.md index 9ce4404..d9ece31 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@

💫 CosmicNvim

- Neovim Minimum Version + Neovim Minimum Version GitHub last commit Discord @@ -56,7 +56,7 @@ experience with any LSP supported language._ #### Prerequisites -- Neovim (+0.9.0) +- Neovim (+0.10.0) - [Node.js](https://nodejs.org/en/) - [prettierd](https://github.com/fsouza/prettierd) (for prettier formatting w/null_ls, optional) - [eslint_d](https://www.npmjs.com/package/eslint_d) (for eslint w/null_ls, optional)