add multiple cmp themes https://github.com/NvChad/base46/issues/109
This commit is contained in:
parent
8f92334c57
commit
4f789d3406
4 changed files with 54 additions and 12 deletions
|
@ -10,14 +10,27 @@ M.options = {
|
|||
}
|
||||
|
||||
M.ui = {
|
||||
------------------------------- base46 -------------------------------------
|
||||
-- hl = highlights
|
||||
hl_add = {},
|
||||
hl_override = {},
|
||||
|
||||
changed_themes = {},
|
||||
theme_toggle = { "onedark", "one_light" },
|
||||
theme = "onedark", -- default theme
|
||||
|
||||
transparency = false,
|
||||
|
||||
-- cmp themeing
|
||||
cmp = {
|
||||
icons = true,
|
||||
lspkind_text = true,
|
||||
style = "default", -- default/flat_light/flat_dark/atom/atom_colored
|
||||
border_color = "grey_fg", -- only applicable for "default" style, use color names from base30 variables
|
||||
selected_item_bg = "colored", -- colored / simple
|
||||
},
|
||||
|
||||
------------------------------- nvchad_ui modules -----------------------------
|
||||
statusline = {
|
||||
separator_style = "default", -- default/round/block/arrow
|
||||
overriden_modules = nil,
|
||||
|
@ -58,7 +71,7 @@ M.ui = {
|
|||
|
||||
M.plugins = {}
|
||||
|
||||
-- check core.mappings for table structure
|
||||
-- these are default mappings, check core.mappings for table structure
|
||||
M.mappings = require "core.mappings"
|
||||
|
||||
return M
|
||||
|
|
|
@ -29,5 +29,5 @@ autocmd("VimEnter", {
|
|||
local new_cmd = vim.api.nvim_create_user_command
|
||||
|
||||
new_cmd("CompileNvTheme", function()
|
||||
require("base46").compile()
|
||||
require("base46").load_all_highlights()
|
||||
end, {})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue