Skip to content

Commit

Permalink
fix: Improve lazy loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Allaman committed Jul 22, 2024
1 parent 4eea2e3 commit 739ccfd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lua/core/plugins/flatten.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
return {
"willothy/flatten.nvim",
lazy = false,
event = "VeryLazy",
priority = 1001,
opts = {
window = {
Expand Down
1 change: 1 addition & 0 deletions lua/core/plugins/navigator.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local M = {
"numToStr/Navigator.nvim",
event = "VeryLazy",
config = function()
require("Navigator").setup({})
local map = vim.api.nvim_set_keymap
Expand Down
9 changes: 9 additions & 0 deletions lua/core/plugins/theme.lua
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
local themes = {
nightfox = {
"EdenEast/nightfox.nvim",
priority = 1000,
lazy = false,
config = function()
require("core.plugins.themes.nightfox")
end,
},
tundra = {
"sam4llis/nvim-tundra",
priority = 1000,
lazy = false,
config = function()
require("core.plugins.themes.tundra")
end,
Expand All @@ -21,12 +25,16 @@ local themes = {
},
kanagawa = {
"rebelot/kanagawa.nvim",
priority = 1000,
lazy = false,
config = function()
require("lua.core.plugins.themes.kanagawa")
end,
},
oxocarbon = {
"nyoom-engineering/oxocarbon.nvim",
priority = 1000,
lazy = false,
config = function()
vim.opt.background = "dark" -- set this to dark or light
vim.cmd("colorscheme oxocarbon")
Expand All @@ -35,6 +43,7 @@ local themes = {
catppuccin = {
"catppuccin/nvim",
name = "catppuccin",
lazy = false,
priority = 1000,
config = function()
require("core.plugins.themes.catppuccin")
Expand Down

0 comments on commit 739ccfd

Please sign in to comment.