🚀 perf(nvim): changed events for bufread plugins
This commit is contained in:
parent
3ea19614f1
commit
0d259afe49
6 changed files with 7 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
return {
|
||||
"vidocqh/auto-indent.nvim",
|
||||
event = "BufReadPost",
|
||||
event = "LazyFile",
|
||||
opts = {
|
||||
---@param lnum: number
|
||||
---@return number
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
return {
|
||||
"backdround/tabscope.nvim",
|
||||
event = "BufRead",
|
||||
event = "LazyFile",
|
||||
opts = {},
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
return {
|
||||
"LudoPinelli/comment-box.nvim",
|
||||
event = "BufReadPost",
|
||||
event = "LazyFile",
|
||||
opts = {},
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ return {
|
|||
},
|
||||
{ -- better statuscolumn
|
||||
"luukvbaal/statuscol.nvim",
|
||||
event = { "BufRead", "BufNewFile" },
|
||||
event = { "LazyFile" },
|
||||
opts = function()
|
||||
local builtin = require("statuscol.builtin")
|
||||
return {
|
||||
|
@ -47,7 +47,7 @@ return {
|
|||
},
|
||||
{ -- better fold
|
||||
"kevinhwang91/nvim-ufo",
|
||||
event = { "BufRead", "BufNewFile" },
|
||||
event = { "LazyFile" },
|
||||
dependencies = { "kevinhwang91/promise-async" },
|
||||
init = function()
|
||||
vim.o.foldcolumn = "1"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
return {
|
||||
"tzachar/highlight-undo.nvim",
|
||||
event = "BufReadPost",
|
||||
event = "LazyFile",
|
||||
opts = {
|
||||
duration = 700,
|
||||
},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
return {
|
||||
"mawkler/modicator.nvim",
|
||||
event = "BufReadPost",
|
||||
event = "LazyFile",
|
||||
init = function()
|
||||
-- These are required for Modicator to work
|
||||
vim.o.cursorline = true
|
||||
|
|
Loading…
Add table
Reference in a new issue