mirror of
https://github.com/pnx/dotfiles
synced 2026-08-24 03:58:13 +02:00
nvim/lua/user/plugins/ui/colorscheme.lua: move options variable to inline
This commit is contained in:
parent
eba945eab7
commit
1a4614c86c
1 changed files with 30 additions and 32 deletions
|
|
@ -247,7 +247,12 @@ local custom_highlights = function(colors)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
local options = {
|
return {
|
||||||
|
"catppuccin/nvim",
|
||||||
|
name = "catppuccin",
|
||||||
|
lazy = false,
|
||||||
|
priority = 1000,
|
||||||
|
opts = {
|
||||||
flavour = "mocha",
|
flavour = "mocha",
|
||||||
transparent_background = not vim.g.neovide,
|
transparent_background = not vim.g.neovide,
|
||||||
color_overrides = {
|
color_overrides = {
|
||||||
|
|
@ -276,14 +281,7 @@ local options = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
|
||||||
return {
|
|
||||||
"catppuccin/nvim",
|
|
||||||
name = "catppuccin",
|
|
||||||
lazy = false,
|
|
||||||
priority = 1000,
|
|
||||||
opts = options,
|
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
require("catppuccin").setup(opts)
|
require("catppuccin").setup(opts)
|
||||||
vim.cmd.colorscheme("catppuccin")
|
vim.cmd.colorscheme("catppuccin")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue