🚀 perf(nvim): changed events for bufread into lazyfile
This commit is contained in:
parent
67d466e276
commit
069903ae38
10 changed files with 13 additions and 14 deletions
|
@ -9,7 +9,6 @@
|
|||
"lazyvim.plugins.extras.lang.yaml",
|
||||
"lazyvim.plugins.extras.linting.eslint",
|
||||
"lazyvim.plugins.extras.test.core",
|
||||
"lazyvim.plugins.extras.ui.alpha",
|
||||
"lazyvim.plugins.extras.ui.edgy",
|
||||
"lazyvim.plugins.extras.util.dot",
|
||||
"plugins.extras.coding.ai.codeium",
|
||||
|
@ -59,7 +58,6 @@
|
|||
"plugins.extras.lsp.inc-rename",
|
||||
"plugins.extras.lsp.lens",
|
||||
"plugins.extras.lsp.lightbulb",
|
||||
"plugins.extras.ui.alpha",
|
||||
"plugins.extras.ui.breadcrumbs",
|
||||
"plugins.extras.ui.context",
|
||||
"plugins.extras.ui.highlight-undo",
|
||||
|
@ -79,4 +77,5 @@
|
|||
"NEWS.md": "2123"
|
||||
},
|
||||
"version": 2
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
return {
|
||||
{
|
||||
"Weissle/persistent-breakpoints.nvim",
|
||||
event = "BufReadPost",
|
||||
event = "LazyFile",
|
||||
keys = {
|
||||
{ "<leader>dbd", "<cmd>PBClearAllBreakpoints<cr>", desc = "Delete All Breakpoints" },
|
||||
{ "<leader>dbB", "<cmd>PBSetConditionalBreakpoint<cr>", desc = "Breakpoint Condition" },
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
if vim.fn.has("nvim-0.10") == 1 then
|
||||
return {
|
||||
"Bekaboo/dropbar.nvim",
|
||||
event = "BufWinEnter",
|
||||
event = "LazyFile",
|
||||
opts = {
|
||||
sources = {
|
||||
terminal = {
|
||||
|
@ -19,7 +19,7 @@ else
|
|||
"SmiteshP/nvim-navic",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
event = "BufRead",
|
||||
event = "LazyFile",
|
||||
opts = {},
|
||||
}
|
||||
end
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
return {
|
||||
"barrett-ruth/import-cost.nvim",
|
||||
build = "sh install.sh yarn",
|
||||
event = "BufReadPost",
|
||||
event = "LazyFile",
|
||||
config = true,
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
return {
|
||||
"sitiom/nvim-numbertoggle",
|
||||
event = "BufReadPost",
|
||||
event = "LazyFile",
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
return {
|
||||
"HiPhish/rainbow-delimiters.nvim",
|
||||
event = "BufRead",
|
||||
event = "LazyFile",
|
||||
opts = {
|
||||
highlight = {
|
||||
"RainbowDelimiterBlue",
|
||||
|
|
|
@ -6,12 +6,12 @@ if vim.fn.has("nvim-0.10") == 1 then
|
|||
opts = {
|
||||
excluded_filetypes = excluded_filetypes,
|
||||
},
|
||||
event = "BufRead",
|
||||
event = "LazyFile",
|
||||
}
|
||||
else
|
||||
return {
|
||||
"dstein64/nvim-scrollview",
|
||||
event = "BufReadPost",
|
||||
event = "LazyFile",
|
||||
keys = { { "<leader>uS", "<cmd>ScrollViewToggle<CR>", desc = "Toggle Scrollview" } },
|
||||
config = function()
|
||||
require("scrollview").setup({
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
return {
|
||||
"LunarVim/bigfile.nvim",
|
||||
event = "BufRead",
|
||||
event = "LazyFile",
|
||||
opts = {
|
||||
filesize = 1, -- size of the file in MiB, the plugin round file sizes to the closest MiB
|
||||
pattern = { "*" }, -- autocmd pattern or function see <### Overriding the detection of big files>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
return {
|
||||
"andweeb/presence.nvim",
|
||||
lazy = false,
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
-- General options
|
||||
auto_update = true, -- Update activity based on autocmd events (if `false`, map or manually execute `:lua package.loaded.presence:update()`)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
return {
|
||||
"wakatime/vim-wakatime",
|
||||
lazy = false,
|
||||
event = "VeryLazy",
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue