fix: theme disabling
This commit is contained in:
parent
2326c8b2d2
commit
9d3e73b3d0
3 changed files with 4 additions and 3 deletions
|
@ -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,
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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({
|
||||||
|
|
Loading…
Add table
Reference in a new issue