nvim lazy plugin management part 2

This commit is contained in:
2025-07-15 16:25:52 +05:00
parent 0d1b98f65e
commit 386d50d7ce
21 changed files with 318 additions and 347 deletions

View File

@ -1,5 +1,3 @@
local fn = vim.fn
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
@ -21,61 +19,11 @@ end
lazy.setup(
{
change_detection = {
enabled = false,
},
spec = {
{ import = "user.plugins" },
{ "hrsh7th/nvim-cmp", event = "VeryLazy" }, -- The completion plugin
{ "hrsh7th/cmp-buffer", event = "VeryLazy" }, -- buffer completions
{ "hrsh7th/cmp-path", event = "VeryLazy" }, -- path completions
{ "hrsh7th/cmp-cmdline", event = "VeryLazy" }, -- cmdline completions
{ "saadparwaiz1/cmp_luasnip", event = "VeryLazy" }, -- snippet completions
{ "hrsh7th/cmp-nvim-lsp", event = "VeryLazy" },
-- snippets
-- LSP
{ "williamboman/mason.nvim", event = "VeryLazy" }, -- simple to use language server installer
{ "williamboman/mason-lspconfig.nvim", event = "VeryLazy" },
{ "neovim/nvim-lspconfig", event = "VeryLazy" }, -- enable LSP
{
"folke/zen-mode.nvim",
opts = {
window = {
backdrop = 1
}
},
event = "VeryLazy"
},
{
"nvimtools/none-ls.nvim",
event = "VeryLazy"
},
{ "lukas-reineke/lsp-format.nvim", event = "VeryLazy" },
--comment out
{ "tpope/vim-commentary", event = "VeryLazy" },
{ "windwp/nvim-ts-autotag", event = "VeryLazy" },
{
"rebelot/kanagawa.nvim",
lazy = false,
priority = 1000,
},
--debugging
{ "mfussenegger/nvim-dap", event = "VeryLazy" },
{
"rcarriga/nvim-dap-ui",
dependencies = {
"mfussenegger/nvim-dap",
"nvim-neotest/nvim-nio"
},
event = { "VeryLazy" }
},
},
}
)