From 9ae0a56deb3f1b4bc9682e07caf07fdee48b7f17 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sun, 23 Feb 2025 14:22:43 +0000 Subject: [PATCH] lazyvim: disable LazyVim --- nvim/init.lua | 2 -- nvim/lua/config/lazy.lua | 7 ------- nvim/lua/plugins/coding.lua | 1 - nvim/lua/plugins/core.lua | 15 ++------------- 4 files changed, 2 insertions(+), 23 deletions(-) diff --git a/nvim/init.lua b/nvim/init.lua index 12d1f37..13a0be5 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -6,6 +6,4 @@ vim.g.autoformat = false _G.rmz = require("rmz.util") --- bootstrap lazy.nvim, LazyVim and your plugins -package.loaded["lazyvim.config.options"] = true require("config") diff --git a/nvim/lua/config/lazy.lua b/nvim/lua/config/lazy.lua index 68de635..7954324 100644 --- a/nvim/lua/config/lazy.lua +++ b/nvim/lua/config/lazy.lua @@ -8,13 +8,6 @@ vim.opt.rtp:prepend(vim.env.LAZY or lazypath) require("lazy").setup({ spec = { - -- add LazyVim and import its plugins - { "LazyVim/LazyVim", import = "lazyvim.plugins" }, - -- import any extras modules here - -- { import = "lazyvim.plugins.extras.lang.typescript" }, - -- { import = "lazyvim.plugins.extras.lang.json" }, - -- { import = "lazyvim.plugins.extras.ui.mini-animate" }, - -- import/override with your plugins { import = "plugins" }, { import = "plugins.lang" }, }, diff --git a/nvim/lua/plugins/coding.lua b/nvim/lua/plugins/coding.lua index 43ce1e0..4fe8c08 100644 --- a/nvim/lua/plugins/coding.lua +++ b/nvim/lua/plugins/coding.lua @@ -163,7 +163,6 @@ return { opts = { library = { { path = "${3rd}/luv/library", words = { "vim%.uv" } }, - { path = "LazyVim", words = { "LazyVim" } }, { path = "snacks.nvim", words = { "Snacks" } }, { path = "lazy.nvim", words = { "LazySpec" } }, }, diff --git a/nvim/lua/plugins/core.lua b/nvim/lua/plugins/core.lua index b3f49a2..3e7ee82 100644 --- a/nvim/lua/plugins/core.lua +++ b/nvim/lua/plugins/core.lua @@ -1,17 +1,6 @@ ----@type LazyPluginSpec +---@type LazySpec return { - { - "LazyVim/LazyVim", - opts = { - defaults = { - autocmds = false, - options = false, - keymaps = false, - }, - }, - }, - { - "vhyrro/luarocks.nvim", + { "vhyrro/luarocks.nvim", priority = 1000, config = true, } -- 2.48.1