dev (formatter): formatted with StyLua lualine and lightline

dev-doc
Pocco81 3 years ago
parent 32346db348
commit 4eed8788a7

@ -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
print(color_scheme) -- error message
@ -13,32 +15,32 @@ catppuccino.normal = {
middle = { { cpt.blue, cpt.fg_gutter } },
right = { { cpt.fg_sidebar, cpt.bg_statusline }, { cpt.blue, cpt.bg } },
error = { { cpt.black, cpt.error } },
warning = {{cpt.black, cpt.warning}}
warning = { { cpt.black, cpt.warning } },
}
catppuccino.insert = {
left = {{cpt.black, cpt.green}, {cpt.blue, cpt.bg}}
left = { { cpt.black, cpt.green }, { cpt.blue, cpt.bg } },
}
catppuccino.visual = {
left = {{cpt.black, cpt.magenta}, {cpt.blue, cpt.bg}}
left = { { cpt.black, cpt.magenta }, { cpt.blue, cpt.bg } },
}
catppuccino.replace = {
left = {{cpt.black, cpt.red}, {cpt.blue, cpt.bg}}
left = { { cpt.black, cpt.red }, { cpt.blue, cpt.bg } },
}
catppuccino.inactive = {
left = { { cpt.blue, cpt.bg_statusline }, { cpt.comment, cpt.bg } },
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 = {
left = { { cpt.comment, cpt.bg_highlight }, { cpt.comment, cpt.bg } },
middle = { { cpt.fg_gutter, cpt.bg_statusline } },
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

@ -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
vim.api.nvim_err_writeln(err.msg)
@ -10,33 +12,33 @@ local catppuccino = {}
catppuccino.normal = {
a = { bg = cpt.blue, fg = cpt.black },
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 = {
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 = {
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 = {
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 = {
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 = {
a = { bg = cpt.bg_statusline, fg = cpt.blue },
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

Loading…
Cancel
Save