|
|
|
---@class Config
|
|
|
|
local config = {}
|
|
|
|
|
|
|
|
config.options = {
|
|
|
|
transparent_background = false,
|
|
|
|
term_colors = false,
|
|
|
|
compile = {
|
|
|
|
enable = false,
|
|
|
|
path = vim.fn.stdpath("cache") .. "/catppuccin",
|
|
|
|
suffix = "_compiled",
|
|
|
|
},
|
|
|
|
dim_inactive = {
|
|
|
|
enable = false,
|
|
|
|
shade = "dark",
|
|
|
|
percentage = 0.15,
|
|
|
|
},
|
|
|
|
styles = {
|
|
|
|
comments = { "italic" },
|
|
|
|
conditionals = { "italic" },
|
|
|
|
loops = {},
|
|
|
|
functions = {},
|
|
|
|
keywords = {},
|
|
|
|
strings = {},
|
|
|
|
variables = {},
|
|
|
|
numbers = {},
|
|
|
|
booleans = {},
|
|
|
|
properties = {},
|
|
|
|
types = {},
|
|
|
|
operators = {},
|
|
|
|
},
|
|
|
|
integrations = {
|
|
|
|
treesitter = true,
|
|
|
|
native_lsp = {
|
|
|
|
enabled = true,
|
|
|
|
virtual_text = {
|
|
|
|
errors = { "italic" },
|
|
|
|
hints = { "italic" },
|
|
|
|
warnings = { "italic" },
|
|
|
|
information = { "italic" },
|
|
|
|
},
|
|
|
|
underlines = {
|
|
|
|
errors = { "underline" },
|
|
|
|
hints = { "underline" },
|
|
|
|
warnings = { "underline" },
|
|
|
|
information = { "underline" },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
coc_nvim = false,
|
|
|
|
lsp_trouble = false,
|
|
|
|
cmp = true,
|
|
|
|
lsp_saga = false,
|
|
|
|
gitgutter = false,
|
|
|
|
gitsigns = true,
|
|
|
|
telescope = false,
|
|
|
|
nvimtree = {
|
|
|
|
enabled = true,
|
|
|
|
show_root = true,
|
|
|
|
transparent_panel = false,
|
|
|
|
},
|
|
|
|
neotree = {
|
|
|
|
enabled = false,
|
|
|
|
show_root = false,
|
|
|
|
transparent_panel = false,
|
|
|
|
},
|
|
|
|
which_key = false,
|
|
|
|
indent_blankline = {
|
|
|
|
enabled = true,
|
|
|
|
colored_indent_levels = false,
|
|
|
|
},
|
|
|
|
dashboard = true,
|
|
|
|
neogit = false,
|
|
|
|
vim_sneak = false,
|
|
|
|
fern = false,
|
|
|
|
barbar = false,
|
|
|
|
bufferline = true,
|
|
|
|
markdown = true,
|
|
|
|
lightspeed = false,
|
|
|
|
leap = false,
|
|
|
|
ts_rainbow = false,
|
|
|
|
hop = false,
|
|
|
|
notify = true,
|
|
|
|
telekasten = true,
|
|
|
|
symbols_outline = true,
|
|
|
|
},
|
|
|
|
color_overrides = {},
|
|
|
|
custom_highlights = {},
|
|
|
|
}
|
|
|
|
|
|
|
|
function config.set_options(opts)
|
|
|
|
opts = opts or {}
|
|
|
|
config.options = vim.tbl_deep_extend("force", config.options, opts)
|
|
|
|
end
|
|
|
|
|
|
|
|
return config
|