fix: theme disabling
This commit is contained in:
parent
2326c8b2d2
commit
9d3e73b3d0
3 changed files with 4 additions and 3 deletions
lua/cosmic
|
@ -7,7 +7,8 @@ end
|
|||
|
||||
-- these settings will be merged with any settings definined in config.lua
|
||||
local default_config = {
|
||||
theme = 'tokyonight.nvim', -- catppuccino
|
||||
-- theme = 'Catppuccino.nvim',
|
||||
theme = 'tokyonight.nvim',
|
||||
lsp = {
|
||||
format_on_save = true, -- true/false or table of filetypes {'.ts', '.js',}
|
||||
rename_notification = true,
|
||||
|
|
|
@ -26,7 +26,7 @@ if config.theme == 'tokyonight.nvim' then
|
|||
floatBorder = themeColors.border_highlight,
|
||||
selection_caret = themeColors.purple,
|
||||
}
|
||||
elseif config.theme == 'catppuccin' then
|
||||
elseif config.theme == 'Catppuccino.nvim' then
|
||||
local theme = require('catppuccin.core.color_palette')
|
||||
|
||||
colors = {
|
||||
|
|
|
@ -48,7 +48,7 @@ return packer.startup(function()
|
|||
vim.cmd('color catppuccin')
|
||||
end,
|
||||
branch = 'dev-remaster',
|
||||
disable = config.theme ~= 'catppuccin',
|
||||
disable = config.theme ~= 'Catppuccino.nvim',
|
||||
})
|
||||
|
||||
use({
|
||||
|
|
Loading…
Add table
Reference in a new issue