mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
optimize nvim startup time with lazy.nvim (#400)
This commit is contained in:
parent
adddbc0ba6
commit
e08b17f335
@ -110,11 +110,13 @@ local plugin_specs = {
|
||||
config = function()
|
||||
require("config.fzf-lua")
|
||||
end,
|
||||
event = "VeryLazy",
|
||||
},
|
||||
{
|
||||
"MeanderingProgrammer/markdown.nvim",
|
||||
main = "render-markdown",
|
||||
opts = {},
|
||||
ft = { "markdown" },
|
||||
},
|
||||
-- A list of colorscheme plugin you may want to try. Find what suits you.
|
||||
{ "navarasu/onedark.nvim", lazy = true },
|
||||
@ -148,7 +150,7 @@ local plugin_specs = {
|
||||
|
||||
{
|
||||
"nvim-lualine/lualine.nvim",
|
||||
event = "VeryLazy",
|
||||
event = "BufRead",
|
||||
cond = firenvim_not_active,
|
||||
config = function()
|
||||
require("config.lualine")
|
||||
@ -334,10 +336,12 @@ local plugin_specs = {
|
||||
config = function()
|
||||
require("config.gitsigns")
|
||||
end,
|
||||
event = "BufRead",
|
||||
},
|
||||
|
||||
{
|
||||
"sindrets/diffview.nvim",
|
||||
cmd = { "DiffviewOpen" },
|
||||
},
|
||||
|
||||
{
|
||||
@ -548,7 +552,7 @@ local plugin_specs = {
|
||||
config = function()
|
||||
require("config.lightbulb")
|
||||
end,
|
||||
event = "VeryLazy",
|
||||
event = "LspAttach",
|
||||
},
|
||||
{
|
||||
"Bekaboo/dropbar.nvim",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user