Browse Source

fix: add events to some lazy plugins

master
Tovi Jaeschke-Rogers 1 week ago
parent
commit
cef63c48b9
12 changed files with 22 additions and 7 deletions
  1. +1
    -0
      .config/nvim/lua/plugins/cloak.lua
  2. +5
    -4
      .config/nvim/lua/plugins/csvview.lua
  3. +1
    -0
      .config/nvim/lua/plugins/fugitive.lua
  4. +1
    -0
      .config/nvim/lua/plugins/harpoon.lua
  5. +8
    -2
      .config/nvim/lua/plugins/init.lua
  6. +1
    -0
      .config/nvim/lua/plugins/neotest.lua
  7. +0
    -1
      .config/nvim/lua/plugins/oil.lua
  8. +1
    -0
      .config/nvim/lua/plugins/scissors.lua
  9. +1
    -0
      .config/nvim/lua/plugins/tmux.lua
  10. +1
    -0
      .config/nvim/lua/plugins/todo-comments.lua
  11. +1
    -0
      .config/nvim/lua/plugins/trouble.lua
  12. +1
    -0
      .config/nvim/lua/plugins/undotree.lua

+ 1
- 0
.config/nvim/lua/plugins/cloak.lua View File

@ -1,5 +1,6 @@
return { return {
"laytan/cloak.nvim", "laytan/cloak.nvim",
event = { "BufReadPre", "BufNewFile" },
config = function() config = function()
require("cloak").setup({ require("cloak").setup({
enabled = true, enabled = true,


+ 5
- 4
.config/nvim/lua/plugins/csvview.lua View File

@ -1,6 +1,7 @@
return { return {
'hat0uma/csvview.nvim',
config = function()
require('csvview').setup()
end
'hat0uma/csvview.nvim',
event = { "BufReadPre", "BufNewFile" },
config = function()
require('csvview').setup()
end
} }

+ 1
- 0
.config/nvim/lua/plugins/fugitive.lua View File

@ -1,5 +1,6 @@
return { return {
"tpope/vim-fugitive", "tpope/vim-fugitive",
event = "VeryLazy",
dependencies = { dependencies = {
"shumphrey/fugitive-gitlab.vim", "shumphrey/fugitive-gitlab.vim",
}, },


+ 1
- 0
.config/nvim/lua/plugins/harpoon.lua View File

@ -1,5 +1,6 @@
return { return {
"ThePrimeagen/harpoon", "ThePrimeagen/harpoon",
event = "VeryLazy",
branch = "harpoon2", branch = "harpoon2",
dependencies = { dependencies = {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",


+ 8
- 2
.config/nvim/lua/plugins/init.lua View File

@ -1,4 +1,10 @@
return { return {
"nvim-lua/plenary.nvim",
"ray-x/guihua.lua",
{
"nvim-lua/plenary.nvim",
event = "VeryLazy",
},
{
"ray-x/guihua.lua",
event = "VeryLazy",
},
} }

+ 1
- 0
.config/nvim/lua/plugins/neotest.lua View File

@ -1,5 +1,6 @@
return { return {
"nvim-neotest/neotest", "nvim-neotest/neotest",
event = "VeryLazy",
dependencies = { dependencies = {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",


+ 0
- 1
.config/nvim/lua/plugins/oil.lua View File

@ -1,7 +1,6 @@
return { return {
"stevearc/oil.nvim", "stevearc/oil.nvim",
opts = {}, opts = {},
commit = "18272aba9d00a3176a5443d50dbb4464acc167bd",
-- Optional dependencies -- Optional dependencies
dependencies = { "nvim-tree/nvim-web-devicons" }, dependencies = { "nvim-tree/nvim-web-devicons" },
config = function() config = function()


+ 1
- 0
.config/nvim/lua/plugins/scissors.lua View File

@ -1,6 +1,7 @@
return { return {
"chrisgrieser/nvim-scissors", "chrisgrieser/nvim-scissors",
event = "VeryLazy", event = "VeryLazy",
lazy = true,
dependencies = "nvim-telescope/telescope.nvim", dependencies = "nvim-telescope/telescope.nvim",
opts = { opts = {
snippetDir = "~/.config/nvim/snippets", snippetDir = "~/.config/nvim/snippets",


+ 1
- 0
.config/nvim/lua/plugins/tmux.lua View File

@ -1,5 +1,6 @@
return { return {
"aserowy/tmux.nvim", "aserowy/tmux.nvim",
event = "VeryLazy",
config = function() config = function()
require("tmux").setup({ require("tmux").setup({
copy_sync = { copy_sync = {


+ 1
- 0
.config/nvim/lua/plugins/todo-comments.lua View File

@ -1,5 +1,6 @@
return { return {
"folke/todo-comments.nvim", "folke/todo-comments.nvim",
event = "VeryLazy",
dependencies = { "nvim-lua/plenary.nvim" }, dependencies = { "nvim-lua/plenary.nvim" },
config = function() config = function()
require("todo-comments").setup() require("todo-comments").setup()


+ 1
- 0
.config/nvim/lua/plugins/trouble.lua View File

@ -1,5 +1,6 @@
return { return {
"folke/trouble.nvim", "folke/trouble.nvim",
event = { "BufReadPre", "BufNewFile" },
opts = {}, opts = {},
cmd = "Trouble", cmd = "Trouble",
keys = { keys = {


+ 1
- 0
.config/nvim/lua/plugins/undotree.lua View File

@ -1,5 +1,6 @@
return { return {
"mbbill/undotree", "mbbill/undotree",
event = "VeryLazy",
config = function() config = function()
if vim.fn.has("persistent_undo") == 0 then if vim.fn.has("persistent_undo") == 0 then
return return


Loading…
Cancel
Save