dev: added integrations and refactored mapper base

dev-assets
Pocco81 3 years ago
parent 6562bfd1f7
commit bbd93a126e

@ -23,22 +23,21 @@ config.options = {
} }
}, },
lsp_trouble = false, lsp_trouble = false,
illuminate = false,
diff = false,
lsp_saga = false, lsp_saga = false,
neogit = false,
gitgutter = false, gitgutter = false,
gitsigns = false, gitsigns = false,
telescope = false, telescope = false,
nvimtree = false, nvimtree = false,
fern = false,
dashboard = false,
which_key = false, which_key = false,
bufferline = false, indent_blankline = false,
dashboard = false,
lualine = false,
lightline = false,
neogit = false,
vim_sneak = false,
fern = false,
barbar = false, barbar = false,
sneak = false, bufferline = false,
hop = false,
} }
} }

@ -3,11 +3,8 @@ local opts = require("catppuccino.config").options
local M = {} local M = {}
function M.apply() local function get_base(t)
local theme = {} return {
local t = require("catppuccino.color_schemes." .. opts.colorscheme)
theme.base = {
Comment = {fg = t.comment, style = opts.styles.comments}, -- any comment Comment = {fg = t.comment, style = opts.styles.comments}, -- any comment
ColorColumn = {bg = t.bg_visual}, -- used for the columns set with 'colorcolumn' ColorColumn = {bg = t.bg_visual}, -- used for the columns set with 'colorcolumn'
Conceal = {fg = t.black}, -- placeholder characters substituted for concealed text (see 'conceallevel') Conceal = {fg = t.black}, -- placeholder characters substituted for concealed text (see 'conceallevel')
@ -231,6 +228,13 @@ function M.apply()
-- TSLiteral = { }; -- Literal text. -- TSLiteral = { }; -- Literal text.
-- TSURI = { }; -- Any URI like a link or email. -- TSURI = { }; -- Any URI like a link or email.
} }
end
function M.apply()
local theme = {}
local t = require("catppuccino.color_schemes." .. opts.colorscheme)
theme.base = get_base(t)
theme.plugins = { theme.plugins = {
-- LspTrouble -- LspTrouble

Loading…
Cancel
Save