From 7e62950549047548c2744b634d5947da67647881 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Sat, 15 Oct 2022 11:59:24 +0200 Subject: feat: improve colorscheme management --- lua/alpha/colors/nightfox.lua | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 lua/alpha/colors/nightfox.lua (limited to 'lua/alpha/colors/nightfox.lua') diff --git a/lua/alpha/colors/nightfox.lua b/lua/alpha/colors/nightfox.lua new file mode 100644 index 0000000..bb90d09 --- /dev/null +++ b/lua/alpha/colors/nightfox.lua @@ -0,0 +1,38 @@ +local ok, nightfox = pcall(require, "nightfox") +if not ok then + return +end + +local function setup() + local palettes = { + all = { + } + } + + local groups = { + all = { + CmpItemAbbr = { fg = "fg0" }, + CmpItemAbbrDeprecated = { link = "Error" }, + CmpItemAbbrMatchFuzzy = { link = "CmpItemAbbr" }, + CmpItemKind = { link = "Special" }, + }, + } + + nightfox.setup({ + options = { + styles = { + comments = "italic", + keywords = "bold", + types = "italic,bold", + }, + }, + palettes = palettes, + groups = groups, + }) + + vim.cmd.colorscheme("duskfox") +end + +return { + setup = setup, +} -- cgit v1.2.3