fix: theme disabling

This commit is contained in:
Matt Leong 2021-11-11 23:15:48 -08:00
parent 2326c8b2d2
commit 9d3e73b3d0
3 changed files with 4 additions and 3 deletions

View file

@ -7,7 +7,8 @@ end
-- these settings will be merged with any settings definined in config.lua -- these settings will be merged with any settings definined in config.lua
local default_config = { local default_config = {
theme = 'tokyonight.nvim', -- catppuccino -- theme = 'Catppuccino.nvim',
theme = 'tokyonight.nvim',
lsp = { lsp = {
format_on_save = true, -- true/false or table of filetypes {'.ts', '.js',} format_on_save = true, -- true/false or table of filetypes {'.ts', '.js',}
rename_notification = true, rename_notification = true,

View file

@ -26,7 +26,7 @@ if config.theme == 'tokyonight.nvim' then
floatBorder = themeColors.border_highlight, floatBorder = themeColors.border_highlight,
selection_caret = themeColors.purple, selection_caret = themeColors.purple,
} }
elseif config.theme == 'catppuccin' then elseif config.theme == 'Catppuccino.nvim' then
local theme = require('catppuccin.core.color_palette') local theme = require('catppuccin.core.color_palette')
colors = { colors = {

View file

@ -48,7 +48,7 @@ return packer.startup(function()
vim.cmd('color catppuccin') vim.cmd('color catppuccin')
end, end,
branch = 'dev-remaster', branch = 'dev-remaster',
disable = config.theme ~= 'catppuccin', disable = config.theme ~= 'Catppuccino.nvim',
}) })
use({ use({