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 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

Loading…
Cancel
Save