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:
parent
eba945eab7
commit
1a4614c86c
1 changed files with 30 additions and 32 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue