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 {
"laytan/cloak.nvim",
event = { "BufReadPre", "BufNewFile" },
config = function()
require("cloak").setup({
enabled = true,


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

@ -1,6 +1,7 @@
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 {
"tpope/vim-fugitive",
event = "VeryLazy",
dependencies = {
"shumphrey/fugitive-gitlab.vim",
},


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

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


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

@ -1,4 +1,10 @@
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 {
"nvim-neotest/neotest",
event = "VeryLazy",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",


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

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


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

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


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

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


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

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


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

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


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

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


Loading…
Cancel
Save