fix(lazy): do lazier loading of plugins

This commit is contained in:
2024-10-07 22:34:49 +02:00
parent b6c590f83c
commit 83562bb7a0
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
---@type LazyPluginSpec
return {
"numToStr/Comment.nvim",
event = "VimEnter",
event = "VeryLazy",
opts = {
--ignore empty lines
ignore = "^$",
+1 -1
View File
@@ -1,7 +1,7 @@
---@type LazyPluginSpec
return {
"wellle/context.vim",
event = "VimEnter",
event = "VeryLazy",
init = function()
vim.g.context_enabled = true
vim.g.context_add_mappings = true
+1 -1
View File
@@ -10,7 +10,7 @@ end
---@type LazyPluginSpec
return {
"tpope/vim-fugitive",
event = "VimEnter",
event = "VeryLazy",
---@type LazyKeysSpec[]
keys = {
{ "<leader>gd", vim.cmd.Gdiffsplit, mode = "n" },
+1 -1
View File
@@ -3,7 +3,7 @@
---@type LazyPluginSpec
return {
"lewis6991/gitsigns.nvim",
event = "VimEnter",
event = "VeryLazy",
opts = {
on_attach = function(bufnr)
local gs = package.loaded.gitsigns
+1 -1
View File
@@ -3,7 +3,7 @@
---@type LazyPluginSpec
return {
"nvim-lualine/lualine.nvim",
event = "VimEnter",
event = "VeryLazy",
config = function()
local custom_moonfly = require("lualine.themes.moonfly")
custom_moonfly.normal.c.bg = require("moonfly").palette.bg
+1 -1
View File
@@ -3,6 +3,6 @@
---@type LazyPluginSpec
return {
"williamboman/mason.nvim",
event = "VimEnter",
event = "VeryLazy",
config = true,
}
+1 -1
View File
@@ -3,7 +3,7 @@
---@type LazyPluginSpec
return {
"nvim-telescope/telescope.nvim",
event = "VimEnter",
event = "VeryLazy",
dependencies = {
"nvim-lua/plenary.nvim",
{
+1 -1
View File
@@ -4,7 +4,7 @@
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
event = "VimEnter",
event = "VeryLazy",
opts = {
ensure_installed = {
"c", -- recommended default