summaryrefslogtreecommitdiff
path: root/lua/lvim/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lvim/plugins.lua')
-rw-r--r--lua/lvim/plugins.lua30
1 files changed, 21 insertions, 9 deletions
diff --git a/lua/lvim/plugins.lua b/lua/lvim/plugins.lua
index 85c1e80e..e84049dc 100644
--- a/lua/lvim/plugins.lua
+++ b/lua/lvim/plugins.lua
@@ -15,16 +15,11 @@ local core_plugins = {
end,
},
{
- "lunarvim/tokyonight.nvim",
+ "folke/tokyonight.nvim",
config = function()
- pcall(function()
- if lvim and lvim.colorscheme == "tokyonight-night" then
- require("tokyonight-night").setup()
- lvim.builtin.lualine.options.theme = "tokyonight-night"
- end
- end)
+ require("lvim.core.theme").setup()
end,
- disable = lvim.colorscheme ~= "tokyonight-night",
+ disable = not vim.startswith(lvim.colorscheme, "tokyonight"),
},
{
"rcarriga/nvim-notify",
@@ -208,7 +203,7 @@ local core_plugins = {
config = function()
require("lvim.core.breadcrumbs").setup()
end,
- -- disable = not lvim.builtin.breadcrumbs.active,
+ disable = not lvim.builtin.breadcrumbs.active,
},
{
@@ -267,6 +262,23 @@ local core_plugins = {
{
"RRethy/vim-illuminate",
+ setup = function()
+ require("lvim.core.illuminate").setup()
+ end,
+ disable = not lvim.builtin.illuminate.active,
+ },
+ {
+ "lunarvim/onedarker.nvim",
+ branch = "freeze",
+ config = function()
+ pcall(function()
+ if lvim and lvim.colorscheme == "onedarker" then
+ require("onedarker").setup()
+ lvim.builtin.lualine.options.theme = "onedarker"
+ end
+ end)
+ end,
+ disable = lvim.colorscheme ~= "onedarker",
},
}