From 3d498ee7136be179aada077d39c14adff6056187 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Mon, 16 Jan 2023 20:39:12 +0100 Subject: [PATCH] fix(version): don't use version for schemastore and nvim-cmp. Last version is too old --- lua/lazyvim/plugins/coding.lua | 1 + lua/lazyvim/plugins/extras/lang/json.lua | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/coding.lua b/lua/lazyvim/plugins/coding.lua index 973d0a45..f73e2aea 100644 --- a/lua/lazyvim/plugins/coding.lua +++ b/lua/lazyvim/plugins/coding.lua @@ -30,6 +30,7 @@ return { -- auto completion { "hrsh7th/nvim-cmp", + version = false, -- last release is way too old event = "InsertEnter", dependencies = { "hrsh7th/cmp-nvim-lsp", diff --git a/lua/lazyvim/plugins/extras/lang/json.lua b/lua/lazyvim/plugins/extras/lang/json.lua index dfc07d67..798529d8 100644 --- a/lua/lazyvim/plugins/extras/lang/json.lua +++ b/lua/lazyvim/plugins/extras/lang/json.lua @@ -11,7 +11,10 @@ return { -- correctly setup lspconfig { "neovim/nvim-lspconfig", - dependencies = { "b0o/SchemaStore.nvim" }, + dependencies = { + "b0o/SchemaStore.nvim", + version = false, -- last release is way too old + }, opts = { -- make sure mason installs the server servers = {