1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

nvim/lua/user/plugins/ui/colorscheme.lua: move options variable to inline

This commit is contained in:
Henrik Hautakoski 2026-04-04 14:35:05 +02:00
parent eba945eab7
commit 1a4614c86c

View file

@ -247,7 +247,12 @@ local custom_highlights = function(colors)
}
end
local options = {
return {
"catppuccin/nvim",
name = "catppuccin",
lazy = false,
priority = 1000,
opts = {
flavour = "mocha",
transparent_background = not vim.g.neovide,
color_overrides = {
@ -276,14 +281,7 @@ local options = {
enabled = true,
},
}
}
return {
"catppuccin/nvim",
name = "catppuccin",
lazy = false,
priority = 1000,
opts = options,
},
config = function(_, opts)
require("catppuccin").setup(opts)
vim.cmd.colorscheme("catppuccin")