nvim: colors

This commit is contained in:
Daniel Lundin 2024-11-09 01:33:49 +01:00
parent f6f2286505
commit 1eb8637840
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
2 changed files with 165 additions and 130 deletions

View file

@ -57,6 +57,17 @@
config = ''
require'blink-cmp'.setup({
keymap = 'super-tab',
windows = {
autocomplete = {
border = 'none',
},
documentation = {
border = 'rounded',
},
signature_help = {
border = 'rounded',
},
},
})
'';
}

View file

@ -76,6 +76,16 @@ local colors = {
-- dialog_bg = hsl(216, 25, 20),
-- selection = hsl(216, 25, 33),
selection = hsl(213, 60, 40),
cmp_bg = hsl(218, 30, 13),
cmp_fg = hsl(218, 30, 60),
cmp_selected_bg = hsl(218, 30, 25),
cmp_selected_fg = hsl(218, 50, 80),
doc_bg = hsl(220, 80, 10),
doc_fg = hsl(200, 30, 60),
suggestion = hsl(180, 55, 40),
},
}
@ -158,6 +168,20 @@ local theme = {
MiniClueDescGroup = { bg = c.background, fg = c.foreground, italic = true },
MiniClueSeparator = { link = "NormalFloat" },
BlinkCmpMenu = { bg = c.cmp_bg, fg = c.cmp_fg },
BlinkCmpMenuSelection = { bg = c.cmp_selected_bg, fg = c.cmp_selected_fg, reverse = false },
BlinkCmpMenuBorder = { bg = c.cmp_bg, fg = c.cmp_fg },
BlinkCmpLabel = { link = 'BlinkCmpMenu' },
BlinkCmpLabelMatch = { link = 'BlinkCmpMenu', underline = true },
BlinkCmpDoc = { bg = c.doc_bg, fg = c.foreground },
BlinkCmpDocBorder = { bg = c.doc_bg, fg = c.doc_fg },
BlinkCmpDocDetail = { link = 'BlinkCmpDoc' },
BlinkCmpSignatureHelp = { link = 'BlinkCmpDoc' },
BlinkCmpSignatureHelpBorder = { link = 'BlinkCmpDocBorder' },
NeoCodeiumSuggestion = { fg = c.suggestion , bold = true, italic = true },
NoiceMini = { fg = c.foreground, italic = true },
TelescopeNormal = { fg = c.foreground, bg = c.background },