fix: plugin/ and colors/

dev-remaster
Pocco81 3 years ago
parent 0eebbe2fbe
commit f94234f30f

@ -0,0 +1,3 @@
lua << EOF
require('catppuccin').load()
EOF

@ -1,3 +0,0 @@
lua << EOF
require('katppuccino').load()
EOF

@ -0,0 +1,37 @@
local cp = require("catppuccin.core.color_palette")
local catppuccin = {}
catppuccin.normal = {
left = { { cp.catppuccin14, cp.catppuccin9 }, { cp.catppuccin9, cp.catppuccin1 } },
middle = { { cp.catppuccin9, cp.catppuccin12 } },
right = { { cp.catppuccin13, cp.catppuccin1 }, { cp.catppuccin9, cp.catppuccin1 } },
error = { { cp.catppuccin14, cp.catppuccin5 } },
warning = { { cp.catppuccin14, cp.catppuccin8 } },
}
catppuccin.insert = {
left = { { cp.catppuccin14, cp.catppuccin7 }, { cp.catppuccin9, cp.catppuccin1 } },
}
catppuccin.visual = {
left = { { cp.catppuccin14, cp.catppuccin3 }, { cp.catppuccin9, cp.catppuccin1 } },
}
catppuccin.replace = {
left = { { cp.catppuccin14, cp.catppuccin5 }, { cp.catppuccin9, cp.catppuccin1 } },
}
catppuccin.inactive = {
left = { { cp.catppuccin9, cp.catppuccin1 }, { cp.catppuccin11, cp.catppuccin1 } },
middle = { { cp.catppuccin12, cp.catppuccin1 } },
right = { { cp.catppuccin12, cp.catppuccin1 }, { cp.catppuccin11, cp.catppuccin1 } },
}
catppuccin.tabline = {
left = { { cp.catppuccin11, cp.catppuccin1 }, { cp.catppuccin11, cp.catppuccin1 } },
middle = { { cp.catppuccin12, cp.catppuccin1 } },
right = { { cp.catppuccin12, cp.catppuccin1 }, { cp.catppuccin11, cp.catppuccin1 } },
tabsel = { { cp.catppuccin9, cp.catppuccin12 }, { cp.catppuccin11, cp.catppuccin1 } },
}
return catppuccin

@ -0,0 +1,36 @@
local cp = require("catppuccin.core.color_palette")
local catppuccin = {}
catppuccin.normal = {
a = { bg = cp.catppuccin9, fg = cp.catppuccin14 },
b = { bg = cp.catppuccin12, fg = cp.catppuccin9 },
c = { bg = cp.catppuccin14, fg = cp.catppuccin13 },
}
catppuccin.insert = {
a = { bg = cp.catppuccin7, fg = cp.catppuccin14 },
b = { bg = cp.catppuccin12, fg = cp.catppuccin7 },
}
catppuccin.command = {
a = { bg = cp.catppuccin6, fg = cp.catppuccin14 },
b = { bg = cp.catppuccin12, fg = cp.catppuccin6 },
}
catppuccin.visual = {
a = { bg = cp.catppuccin3, fg = cp.catppuccin14 },
b = { bg = cp.catppuccin12, fg = cp.catppuccin3 },
}
catppuccin.replace = {
a = { bg = cp.catppuccin5, fg = cp.catppuccin14 },
b = { bg = cp.catppuccin12, fg = cp.catppuccin5 },
}
catppuccin.inactive = {
a = { bg = cp.catppuccin14, fg = cp.catppuccin9 },
b = { bg = cp.catppuccin14, fg = cp.catppuccin12, gui = "bold" },
c = { bg = cp.catppuccin14, fg = cp.catppuccin12 },
}
return catppuccin

@ -1,17 +1,17 @@
" GPL-3.0 License
" prevent the plugin's interface from loading twice
if exists('g:loaded_katppuccino') | finish | endif
if exists('g:loaded_catppuccin') | finish | endif
let s:save_cpo = &cpo " save user coptions
set cpo&vim " reset them to defaults
" Interface {{{
command! -nargs=0 CPClear call v:lua.require'katppuccino.main'.main('clear')
command! -nargs=0 CPClear call v:lua.require'catppuccin.main'.main('clear')
" }}}
let &cpo = s:save_cpo " restore after
unlet s:save_cpo
" set to true the var that controls the plugin's loading
let g:loaded_katppuccino = 1
let g:loaded_catppuccin = 1
Loading…
Cancel
Save