fix: merge conflict

dev-doc
Pocco81 3 years ago
commit adfd31894f

@ -154,7 +154,10 @@ integrations = {
gitgutter = false, gitgutter = false,
gitsigns = false, gitsigns = false,
telescope = false, telescope = false,
nvimtree = false, nvimtree = {
enabled = false,
show_root = false,
},
which_key = false, which_key = false,
indent_blankline = false, indent_blankline = false,
dashboard = false, dashboard = false,
@ -204,7 +207,10 @@ catppuccino.setup(
gitgutter = false, gitgutter = false,
gitsigns = false, gitsigns = false,
telescope = false, telescope = false,
nvimtree = false, nvimtree = {
enabled = false,
show_root = false,
},
which_key = false, which_key = false,
indent_blankline = false, indent_blankline = false,
dashboard = false, dashboard = false,
@ -261,7 +267,10 @@ catppuccino.setup(
gitgutter = false, gitgutter = false,
gitsigns = false, gitsigns = false,
telescope = false, telescope = false,
nvimtree = false, nvimtree = {
enabled = false,
show_root = false,
},
which_key = false, which_key = false,
indent_blankline = false, indent_blankline = false,
dashboard = false, dashboard = false,
@ -350,6 +359,17 @@ let g:lightline = {'colorscheme': 'catppuccino'}
- **Kitty:** Copy and paste the file corresponding to theme you want to use from [this directory](https://github.com/Pocco81/Catppuccino.nvim/tree/main/extra/kitty) on your Kitty config. - **Kitty:** Copy and paste the file corresponding to theme you want to use from [this directory](https://github.com/Pocco81/Catppuccino.nvim/tree/main/extra/kitty) on your Kitty config.
- **Alacritty:** Copy and paste the file corresponding to theme you want to use from [this directory](https://github.com/Pocco81/Catppuccino.nvim/tree/main/extra/alacritty) on your Alacritty config. - **Alacritty:** Copy and paste the file corresponding to theme you want to use from [this directory](https://github.com/Pocco81/Catppuccino.nvim/tree/main/extra/alacritty) on your Alacritty config.
- **NvimTree:** setting `enabled` to `true` enables this integration:
```lua
integration = {
nvimtree = {
enabled = true,
show_root = true, -- makes the root folder not transparent
}
}
```
>>>>>>> main
## List of colorschemes ## List of colorschemes

@ -31,7 +31,7 @@ local colors = {
add = "#dfdfe0", add = "#dfdfe0",
change = "#F6A878", change = "#F6A878",
delete = "#e06c75", delete = "#e06c75",
conflict = "#FFE37E" conflict = "#FFE37E",
}, },
} }
@ -44,7 +44,7 @@ colors.diff = { -- also used for gitsigns
add = util.darken(colors.blue, 0.50), add = util.darken(colors.blue, 0.50),
delete = util.darken(colors.red, 0.50), delete = util.darken(colors.red, 0.50),
change = util.darken(colors.yellow, 0.50), change = util.darken(colors.yellow, 0.50),
text = colors.blue text = colors.blue,
} }
colors.git.ignore = colors.black colors.git.ignore = colors.black

@ -32,7 +32,7 @@ local colors = {
change = "#F4843E", change = "#F4843E",
delete = "#e06c75", delete = "#e06c75",
conflict = "#FFE070", conflict = "#FFE070",
} },
} }
util.bg = colors.bg util.bg = colors.bg
@ -45,7 +45,7 @@ colors.diff = {
add = util.darken(colors.blue, 0.50), add = util.darken(colors.blue, 0.50),
delete = util.darken(colors.red, 0.50), delete = util.darken(colors.red, 0.50),
change = util.darken(colors.yellow, 0.50), change = util.darken(colors.yellow, 0.50),
text = colors.blue text = colors.blue,
} }
colors.git.ignore = colors.black colors.git.ignore = colors.black

@ -31,7 +31,7 @@ local colors = {
add = "#dfdfe0", add = "#dfdfe0",
change = "#F8B58C", change = "#F8B58C",
delete = "#e06c75", delete = "#e06c75",
conflict = "#FFE070" conflict = "#FFE070",
}, },
} }
@ -44,7 +44,7 @@ colors.diff = { -- also used for gitsigns
add = util.darken(colors.blue, 0.50), add = util.darken(colors.blue, 0.50),
delete = util.darken(colors.red, 0.50), delete = util.darken(colors.red, 0.50),
change = util.darken(colors.yellow, 0.50), change = util.darken(colors.yellow, 0.50),
text = colors.blue text = colors.blue,
} }
colors.git.ignore = colors.black colors.git.ignore = colors.black

@ -19,15 +19,18 @@ config.options = {
errors = "italic", errors = "italic",
hints = "italic", hints = "italic",
warnings = "italic", warnings = "italic",
information = "italic" information = "italic",
} },
}, },
lsp_trouble = false, lsp_trouble = false,
lsp_saga = false, lsp_saga = false,
gitgutter = false, gitgutter = false,
gitsigns = false, gitsigns = false,
telescope = false, telescope = false,
nvimtree = false, nvimtree = {
enabled = false,
show_root = false,
},
which_key = false, which_key = false,
indent_blankline = false, indent_blankline = false,
dashboard = false, dashboard = false,
@ -37,7 +40,7 @@ config.options = {
barbar = false, barbar = false,
bufferline = false, bufferline = false,
markdown = false, markdown = false,
} },
} }
function config.set_options(opts) function config.set_options(opts)

@ -15,7 +15,11 @@ function M.get_color_scheme(cs)
local good, color_scheme = pcall(require, "catppuccino.color_schemes." .. cs) local good, color_scheme = pcall(require, "catppuccino.color_schemes." .. cs)
if not good then if not good then
return {status = false, msg = "Catppuccino: the colorscheme '" .. cs .. "' was not recognized. Defaulting to Catppuccino Dark."}, require("catppuccino.color_schemes.catppuccino") return {
status = false,
msg = "Catppuccino: the colorscheme '" .. cs .. "' was not recognized. Defaulting to Catppuccino Dark.",
},
require("catppuccino.color_schemes.catppuccino")
end end
if not (next(remaps) == nil) then if not (next(remaps) == nil) then

@ -20,7 +20,7 @@ function M.get(cpt)
BufferInactiveSign = { bg = cpt.bg_statusline, fg = cpt.border_highlight }, BufferInactiveSign = { bg = cpt.bg_statusline, fg = cpt.border_highlight },
BufferInactiveTarget = { bg = cpt.bg_statusline, fg = cpt.red }, BufferInactiveTarget = { bg = cpt.bg_statusline, fg = cpt.red },
BufferTabpages = { bg = cpt.bg_statusline, fg = cpt.none }, BufferTabpages = { bg = cpt.bg_statusline, fg = cpt.none },
BufferTabpage = {bg = cpt.bg_statusline, fg = cpt.border_highlight} BufferTabpage = { bg = cpt.bg_statusline, fg = cpt.border_highlight },
} }
end end

@ -19,7 +19,7 @@ function M.get(cpt)
-- close buttons -- close buttons
BufferLineCloseButton = { fg = cpt.gray, bg = cpt.black }, BufferLineCloseButton = { fg = cpt.gray, bg = cpt.black },
BufferLineCloseButtonVisible = { fg = cpt.gray, bg = cpt.black }, BufferLineCloseButtonVisible = { fg = cpt.gray, bg = cpt.black },
BufferLineCloseButtonSelected = {fg = cpt.red, bg = cpt.bg} BufferLineCloseButtonSelected = { fg = cpt.red, bg = cpt.bg },
} }
end end

@ -5,7 +5,7 @@ function M.get(cpt)
DashboardShortCut = { fg = cpt.cyan }, DashboardShortCut = { fg = cpt.cyan },
DashboardHeader = { fg = cpt.yellow }, DashboardHeader = { fg = cpt.yellow },
DashboardCenter = { fg = cpt.green }, DashboardCenter = { fg = cpt.green },
DashboardFooter = {fg = cpt.orange, style = "italic"} DashboardFooter = { fg = cpt.orange, style = "italic" },
} }
end end

@ -2,7 +2,7 @@ local M = {}
function M.get(cpt) function M.get(cpt)
return { return {
FernBranchText = {fg = cpt.blue} FernBranchText = { fg = cpt.blue },
} }
end end

@ -4,7 +4,7 @@ function M.get(cpt)
return { return {
GitGutterAdd = { fg = cpt.gitSigns.add }, -- diff mode: Added line |diff.txt| GitGutterAdd = { fg = cpt.gitSigns.add }, -- diff mode: Added line |diff.txt|
GitGutterChange = { fg = cpt.gitSigns.change }, -- diff mode: Changed line |diff.txt| GitGutterChange = { fg = cpt.gitSigns.change }, -- diff mode: Changed line |diff.txt|
GitGutterDelete = {fg = cpt.gitSigns.delete} -- diff mode: Deleted line |diff.txt| GitGutterDelete = { fg = cpt.gitSigns.delete }, -- diff mode: Deleted line |diff.txt|
} }
end end
return M return M

@ -4,7 +4,7 @@ function M.get(cpt)
return { return {
GitSignsAdd = { fg = cpt.diff.add, bg = cpt.bg }, -- diff mode: Added line |diff.txt| GitSignsAdd = { fg = cpt.diff.add, bg = cpt.bg }, -- diff mode: Added line |diff.txt|
GitSignsChange = { fg = cpt.diff.change, bg = cpt.bg }, -- diff mode: Changed line |diff.txt| GitSignsChange = { fg = cpt.diff.change, bg = cpt.bg }, -- diff mode: Changed line |diff.txt|
GitSignsDelete = {fg = cpt.diff.delete, bg = cpt.bg} -- diff mode: Deleted line |diff.txt| GitSignsDelete = { fg = cpt.diff.delete, bg = cpt.bg }, -- diff mode: Deleted line |diff.txt|
} }
end end

@ -2,7 +2,7 @@ local M = {}
function M.get(cpt) function M.get(cpt)
return { return {
IndentBlanklineChar = {fg = cpt.gray} IndentBlanklineChar = { fg = cpt.gray },
} }
end end

@ -21,7 +21,7 @@ function M.get(cpt)
DefinitionCount = { fg = cpt.purple }, DefinitionCount = { fg = cpt.purple },
DefinitionIcon = { fg = cpt.blue }, DefinitionIcon = { fg = cpt.blue },
ReferencesIcon = { fg = cpt.blue }, ReferencesIcon = { fg = cpt.blue },
TargetWord = {fg = cpt.cyan} TargetWord = { fg = cpt.cyan },
} }
end end
return M return M

@ -4,7 +4,7 @@ function M.get(cpt)
return { return {
LspTroubleText = { fg = cpt.fg_alt }, LspTroubleText = { fg = cpt.fg_alt },
LspTroubleCount = { fg = cpt.magenta, bg = cpt.fg_gutter }, LspTroubleCount = { fg = cpt.magenta, bg = cpt.fg_gutter },
LspTroubleNormal = {fg = cpt.fg_sidebar, bg = cpt.bg_sidebar} LspTroubleNormal = { fg = cpt.fg_sidebar, bg = cpt.bg_sidebar },
} }
end end

@ -7,7 +7,7 @@ function M.get(cpt)
markdownCodeBlock = { fg = cpt.cyan }, markdownCodeBlock = { fg = cpt.cyan },
markdownH1 = { fg = cpt.magenta, style = "bold" }, markdownH1 = { fg = cpt.magenta, style = "bold" },
markdownH2 = { fg = cpt.blue, style = "bold" }, markdownH2 = { fg = cpt.blue, style = "bold" },
markdownLinkText = {fg = cpt.blue, style = "underline"} markdownLinkText = { fg = cpt.blue, style = "underline" },
} }
end end

@ -31,7 +31,7 @@ function M.get(cpt)
LspDiagnosticsUnderlineWarning = { style = "underline", sp = cpt.warning }, -- Used to underline "Warning" diagnostics LspDiagnosticsUnderlineWarning = { style = "underline", sp = cpt.warning }, -- Used to underline "Warning" diagnostics
LspDiagnosticsUnderlineInformation = { style = "underline", sp = cpt.info }, -- Used to underline "Information" diagnostics LspDiagnosticsUnderlineInformation = { style = "underline", sp = cpt.info }, -- Used to underline "Information" diagnostics
LspDiagnosticsUnderlineHint = { style = "underline", sp = cpt.hint }, -- Used to underline "Hint" diagnostics LspDiagnosticsUnderlineHint = { style = "underline", sp = cpt.hint }, -- Used to underline "Hint" diagnostics
LspCodeLens = {fg = cpt.comment} -- virtual text of the codelens LspCodeLens = { fg = cpt.comment }, -- virtual text of the codelens
} }
end end

@ -9,7 +9,7 @@ function M.get(cpt)
NeogitHunkHeaderHighlight = { bg = cpt.fg_gutter, fg = cpt.blue }, NeogitHunkHeaderHighlight = { bg = cpt.fg_gutter, fg = cpt.blue },
NeogitDiffContextHighlight = { bg = util.darken(cpt.fg_gutter, 0.5), fg = cpt.fg_alt }, NeogitDiffContextHighlight = { bg = util.darken(cpt.fg_gutter, 0.5), fg = cpt.fg_alt },
NeogitDiffDeleteHighlight = { fg = cpt.git.delete, bg = cpt.diff.delete }, NeogitDiffDeleteHighlight = { fg = cpt.git.delete, bg = cpt.diff.delete },
NeogitDiffAddHighlight = {fg = cpt.git.add, bg = cpt.diff.add} NeogitDiffAddHighlight = { fg = cpt.git.add, bg = cpt.diff.add },
} }
end end

@ -1,6 +1,14 @@
local M = {} local M = {}
function M.get(cpt) function M.get(cpt)
local config = require("catppuccino.config").options
local root_dir_color = cpt.bg_sidebar
if config.integrations.nvimtree.show_root then
root_dir_color = cpt.blue
end
return { return {
NvimTreeFolderName = { fg = cpt.blue }, NvimTreeFolderName = { fg = cpt.blue },
NvimTreeFolderIcon = { fg = cpt.blue }, NvimTreeFolderIcon = { fg = cpt.blue },
@ -9,7 +17,7 @@ function M.get(cpt)
NvimTreeEmptyFolderName = { fg = cpt.blue_br }, NvimTreeEmptyFolderName = { fg = cpt.blue_br },
NvimTreeIndentMarker = { fg = cpt.comment }, NvimTreeIndentMarker = { fg = cpt.comment },
NvimTreeVertSplit = { fg = cpt.black, bg = cpt.black }, NvimTreeVertSplit = { fg = cpt.black, bg = cpt.black },
NvimTreeRootFolder = {fg = cpt.black, style = "bold"}, NvimTreeRootFolder = { fg = root_dir_color, style = "bold" },
NvimTreeSymlink = { fg = cpt.magenta }, NvimTreeSymlink = { fg = cpt.magenta },
NvimTreeStatuslineNc = { fg = cpt.black, bg = cpt.black }, NvimTreeStatuslineNc = { fg = cpt.black, bg = cpt.black },
NvimTreeGitDirty = { fg = cpt.git.change }, NvimTreeGitDirty = { fg = cpt.git.change },
@ -17,7 +25,7 @@ function M.get(cpt)
NvimTreeGitDeleted = { fg = cpt.git.delete }, NvimTreeGitDeleted = { fg = cpt.git.delete },
NvimTreeSpecialFile = { fg = cpt.cyan }, NvimTreeSpecialFile = { fg = cpt.cyan },
NvimTreeImageFile = { fg = cpt.fg_sidebar }, NvimTreeImageFile = { fg = cpt.fg_sidebar },
NvimTreeOpenedFile = {fg = cpt.magenta} NvimTreeOpenedFile = { fg = cpt.magenta },
} }
end end

@ -5,7 +5,7 @@ function M.get(cpt)
TelescopeBorder = { fg = cpt.border_highlight }, TelescopeBorder = { fg = cpt.border_highlight },
TelescopeSelectionCaret = { fg = cpt.cyan }, TelescopeSelectionCaret = { fg = cpt.cyan },
TelescopeSelection = { fg = cpt.cyan, bg = cpt.bg_highlight }, TelescopeSelection = { fg = cpt.cyan, bg = cpt.bg_highlight },
TelescopeMatching = {fg = cpt.blue} TelescopeMatching = { fg = cpt.blue },
} }
end end

@ -58,7 +58,7 @@ function M.get(cpt)
-- TSTag = { }; -- Tags like html tag names. -- TSTag = { }; -- Tags like html tag names.
-- TSTagDelimiter = { }; -- Tag delimiter like `<` `>` `/` -- TSTagDelimiter = { }; -- Tag delimiter like `<` `>` `/`
-- TSText = { }; -- For strings considered text in a markup language. -- TSText = { }; -- For strings considered text in a markup language.
TSTextReference = {fg = cpt.cyan} TSTextReference = { fg = cpt.cyan },
-- TSEmphasis = { }; -- For text to be represented with emphasis. -- TSEmphasis = { }; -- For text to be represented with emphasis.
-- TSUnderline = { }; -- For text to be represented with an underline. -- TSUnderline = { }; -- For text to be represented with an underline.
-- TSStrike = { }; -- For strikethrough texcpt. -- TSStrike = { }; -- For strikethrough texcpt.
@ -69,4 +69,3 @@ function M.get(cpt)
end end
return M return M

@ -3,7 +3,7 @@ local M = {}
function M.get(cpt) function M.get(cpt)
return { return {
Sneak = { fg = cpt.bg_highlight, bg = cpt.magenta }, Sneak = { fg = cpt.bg_highlight, bg = cpt.magenta },
SneakScope = {bg = cpt.bg_visual} SneakScope = { bg = cpt.bg_visual },
} }
end end

@ -8,7 +8,7 @@ function M.get(cpt)
WhichKeySeperator = { fg = cpt.comment }, WhichKeySeperator = { fg = cpt.comment },
WhichKeySeparator = { fg = cpt.comment }, WhichKeySeparator = { fg = cpt.comment },
WhichKeyFloat = { bg = cpt.bg_sidebar }, WhichKeyFloat = { bg = cpt.bg_sidebar },
WhichKeyValue = {fg = cpt.comment} WhichKeyValue = { fg = cpt.comment },
} }
end end

@ -164,7 +164,7 @@ local function get_base()
GlyphPalette4 = { fg = cpt.blue }, GlyphPalette4 = { fg = cpt.blue },
GlyphPalette6 = { fg = cpt.green_br }, GlyphPalette6 = { fg = cpt.green_br },
GlyphPalette7 = { fg = cpt.fg }, GlyphPalette7 = { fg = cpt.fg },
GlyphPalette9 = {fg = cpt.red} GlyphPalette9 = { fg = cpt.red },
} }
end end
@ -175,17 +175,17 @@ local function get_integrations()
for integration in pairs(integrations) do for integration in pairs(integrations) do
local cot = false local cot = false
if (type(integrations[integration]) == "table") then if type(integrations[integration]) == "table" then
if (integrations[integration]["enabled"] == true) then if integrations[integration]["enabled"] == true then
cot = true cot = true
end end
else else
if (integrations[integration] == true) then if integrations[integration] == true then
cot = true cot = true
end end
end end
if (cot) then if cot then
table.insert(final_integrations, require("catppuccino.core.integrations." .. integration).get(cpt)) table.insert(final_integrations, require("catppuccino.core.integrations." .. integration).get(cpt))
end end
end end
@ -197,10 +197,10 @@ local function get_properties()
local cpt = get_cs() local cpt = get_cs()
local props = { local props = {
termguicolors = true, termguicolors = true,
background = "dark" background = "dark",
} }
if (colors_util.assert_brightness(cpt.bg)) then if colors_util.assert_brightness(cpt.bg) then
props["background"] = "light" props["background"] = "light"
end end

@ -5,14 +5,14 @@ local utils = require("catppuccino.utils.util")
local function load(args) local function load(args)
local catppuccino = require("catppuccino") local catppuccino = require("catppuccino")
if (catppuccino.before_loading ~= nil) then if catppuccino.before_loading ~= nil then
catppuccino.before_loading() catppuccino.before_loading()
end end
local theme = require("catppuccino.core.mapper").apply(args) local theme = require("catppuccino.core.mapper").apply(args)
utils.load(theme) utils.load(theme)
if (catppuccino.after_loading ~= nil) then if catppuccino.after_loading ~= nil then
catppuccino.after_loading() catppuccino.after_loading()
end end
end end
@ -20,7 +20,7 @@ end
function M.main(option, args) function M.main(option, args)
option = option or "load" option = option or "load"
if (option == "load") then if option == "load" then
load(args) load(args)
else else
print("Catppuccino: command was not recognized") print("Catppuccino: command was not recognized")

@ -20,7 +20,7 @@ function M.assert_brightness(color)
local g = M.hex2rgb(string.sub(hex, 3, 4)) local g = M.hex2rgb(string.sub(hex, 3, 4))
local b = M.hex2rgb(string.sub(hex, 5, 6)) local b = M.hex2rgb(string.sub(hex, 5, 6))
if (color_is_bright(tonumber(r), tonumber(g), tonumber(b)) == true) then if color_is_bright(tonumber(r), tonumber(g), tonumber(b)) == true then
return true -- bright return true -- bright
end end

@ -112,7 +112,7 @@ hsluv.xyz_to_rgb = function(tuple)
return { return {
hsluv.from_linear(hsluv.dot_product(hsluv.m[1], tuple)), hsluv.from_linear(hsluv.dot_product(hsluv.m[1], tuple)),
hsluv.from_linear(hsluv.dot_product(hsluv.m[2], tuple)), hsluv.from_linear(hsluv.dot_product(hsluv.m[2], tuple)),
hsluv.from_linear(hsluv.dot_product(hsluv.m[3], tuple)) hsluv.from_linear(hsluv.dot_product(hsluv.m[3], tuple)),
} }
end end
@ -121,7 +121,7 @@ hsluv.rgb_to_xyz = function(tuple)
return { return {
hsluv.dot_product(hsluv.minv[1], rgbl), hsluv.dot_product(hsluv.minv[1], rgbl),
hsluv.dot_product(hsluv.minv[2], rgbl), hsluv.dot_product(hsluv.minv[2], rgbl),
hsluv.dot_product(hsluv.minv[3], rgbl) hsluv.dot_product(hsluv.minv[3], rgbl),
} }
end end
@ -322,12 +322,12 @@ end
hsluv.m = { hsluv.m = {
{ 3.240969941904521, -1.537383177570093, -0.498610760293 }, { 3.240969941904521, -1.537383177570093, -0.498610760293 },
{ -0.96924363628087, 1.87596750150772, 0.041555057407175 }, { -0.96924363628087, 1.87596750150772, 0.041555057407175 },
{0.055630079696993, -0.20397695888897, 1.056971514242878} { 0.055630079696993, -0.20397695888897, 1.056971514242878 },
} }
hsluv.minv = { hsluv.minv = {
{ 0.41239079926595, 0.35758433938387, 0.18048078840183 }, { 0.41239079926595, 0.35758433938387, 0.18048078840183 },
{ 0.21263900587151, 0.71516867876775, 0.072192315360733 }, { 0.21263900587151, 0.71516867876775, 0.072192315360733 },
{0.019330818715591, 0.11919477979462, 0.95053215224966} { 0.019330818715591, 0.11919477979462, 0.95053215224966 },
} }
hsluv.refY = 1.0 hsluv.refY = 1.0
hsluv.refU = 0.19783000664283 hsluv.refU = 0.19783000664283

@ -104,7 +104,7 @@ end
function util.syntax(tbl) function util.syntax(tbl)
for group, colors in pairs(tbl) do for group, colors in pairs(tbl) do
if (type(group) == "number") then if type(group) == "number" then
for inner_group, clrs in pairs(colors) do for inner_group, clrs in pairs(colors) do
util.highlight(inner_group, clrs) util.highlight(inner_group, clrs)
end end

@ -1,4 +1,6 @@
local good, color_scheme = require("catppuccino.core.cs").get_color_scheme(require("catppuccino.config").options["cptcheme"]) local good, color_scheme = require("catppuccino.core.cs").get_color_scheme(
require("catppuccino.config").options["cptcheme"]
)
if not good then if not good then
print(color_scheme) -- error message print(color_scheme) -- error message
@ -13,32 +15,32 @@ catppuccino.normal = {
middle = { { cpt.blue, cpt.fg_gutter } }, middle = { { cpt.blue, cpt.fg_gutter } },
right = { { cpt.fg_sidebar, cpt.bg_statusline }, { cpt.blue, cpt.bg } }, right = { { cpt.fg_sidebar, cpt.bg_statusline }, { cpt.blue, cpt.bg } },
error = { { cpt.black, cpt.error } }, error = { { cpt.black, cpt.error } },
warning = {{cpt.black, cpt.warning}} warning = { { cpt.black, cpt.warning } },
} }
catppuccino.insert = { catppuccino.insert = {
left = {{cpt.black, cpt.green}, {cpt.blue, cpt.bg}} left = { { cpt.black, cpt.green }, { cpt.blue, cpt.bg } },
} }
catppuccino.visual = { catppuccino.visual = {
left = {{cpt.black, cpt.magenta}, {cpt.blue, cpt.bg}} left = { { cpt.black, cpt.magenta }, { cpt.blue, cpt.bg } },
} }
catppuccino.replace = { catppuccino.replace = {
left = {{cpt.black, cpt.red}, {cpt.blue, cpt.bg}} left = { { cpt.black, cpt.red }, { cpt.blue, cpt.bg } },
} }
catppuccino.inactive = { catppuccino.inactive = {
left = { { cpt.blue, cpt.bg_statusline }, { cpt.comment, cpt.bg } }, left = { { cpt.blue, cpt.bg_statusline }, { cpt.comment, cpt.bg } },
middle = { { cpt.fg_gutter, cpt.bg_statusline } }, middle = { { cpt.fg_gutter, cpt.bg_statusline } },
right = {{cpt.fg_gutter, cpt.bg_statusline}, {cpt.comment, cpt.bg}} right = { { cpt.fg_gutter, cpt.bg_statusline }, { cpt.comment, cpt.bg } },
} }
catppuccino.tabline = { catppuccino.tabline = {
left = { { cpt.comment, cpt.bg_highlight }, { cpt.comment, cpt.bg } }, left = { { cpt.comment, cpt.bg_highlight }, { cpt.comment, cpt.bg } },
middle = { { cpt.fg_gutter, cpt.bg_statusline } }, middle = { { cpt.fg_gutter, cpt.bg_statusline } },
right = { { cpt.fg_gutter, cpt.bg_statusline }, { cpt.comment, cpt.bg } }, right = { { cpt.fg_gutter, cpt.bg_statusline }, { cpt.comment, cpt.bg } },
tabsel = {{cpt.blue, cpt.fg_gutter}, {cpt.comment, cpt.bg}} tabsel = { { cpt.blue, cpt.fg_gutter }, { cpt.comment, cpt.bg } },
} }
return catppuccino return catppuccino

@ -1,4 +1,6 @@
local err, color_scheme = require("catppuccino.core.cs").get_color_scheme(require("catppuccino.config").options["colorscheme"]) local err, color_scheme = require("catppuccino.core.cs").get_color_scheme(
require("catppuccino.config").options["colorscheme"]
)
if not err.status then if not err.status then
vim.api.nvim_err_writeln(err.msg) vim.api.nvim_err_writeln(err.msg)
@ -10,33 +12,33 @@ local catppuccino = {}
catppuccino.normal = { catppuccino.normal = {
a = { bg = cpt.blue, fg = cpt.black }, a = { bg = cpt.blue, fg = cpt.black },
b = { bg = cpt.fg_gutter, fg = cpt.blue }, b = { bg = cpt.fg_gutter, fg = cpt.blue },
c = {bg = cpt.bg_statusline, fg = cpt.fg_sidebar} c = { bg = cpt.bg_statusline, fg = cpt.fg_sidebar },
} }
catppuccino.insert = { catppuccino.insert = {
a = { bg = cpt.green, fg = cpt.black }, a = { bg = cpt.green, fg = cpt.black },
b = {bg = cpt.fg_gutter, fg = cpt.green} b = { bg = cpt.fg_gutter, fg = cpt.green },
} }
catppuccino.command = { catppuccino.command = {
a = { bg = cpt.orange, fg = cpt.black }, a = { bg = cpt.orange, fg = cpt.black },
b = {bg = cpt.fg_gutter, fg = cpt.orange} b = { bg = cpt.fg_gutter, fg = cpt.orange },
} }
catppuccino.visual = { catppuccino.visual = {
a = { bg = cpt.magenta, fg = cpt.black }, a = { bg = cpt.magenta, fg = cpt.black },
b = {bg = cpt.fg_gutter, fg = cpt.magenta} b = { bg = cpt.fg_gutter, fg = cpt.magenta },
} }
catppuccino.replace = { catppuccino.replace = {
a = { bg = cpt.red_bg, fg = cpt.black }, a = { bg = cpt.red_bg, fg = cpt.black },
b = {bg = cpt.fg_gutter, fg = cpt.red_bg} b = { bg = cpt.fg_gutter, fg = cpt.red_bg },
} }
catppuccino.inactive = { catppuccino.inactive = {
a = { bg = cpt.bg_statusline, fg = cpt.blue }, a = { bg = cpt.bg_statusline, fg = cpt.blue },
b = { bg = cpt.bg_statusline, fg = cpt.fg_gutter, gui = "bold" }, b = { bg = cpt.bg_statusline, fg = cpt.fg_gutter, gui = "bold" },
c = {bg = cpt.bg_statusline, fg = cpt.fg_gutter} c = { bg = cpt.bg_statusline, fg = cpt.fg_gutter },
} }
return catppuccino return catppuccino

@ -0,0 +1,5 @@
column_width = 120
line_endings = "Unix"
indent_type = "Tabs"
indent_width = 4
quote_style = "AutoPreferDouble"
Loading…
Cancel
Save