mirror of
https://github.com/gabehf/base46.git
synced 2026-03-13 09:20:31 -07:00
update some hlgroups for stl
This commit is contained in:
parent
4f54e4d4db
commit
eafffd4c1f
5 changed files with 14 additions and 40 deletions
|
|
@ -51,7 +51,7 @@ local cmp_ui = require("nvconfig").ui.cmp
|
||||||
local styles = {
|
local styles = {
|
||||||
|
|
||||||
default = {
|
default = {
|
||||||
CmpBorder = { fg = colors[cmp_ui.border_color] },
|
CmpBorder = { fg = colors.grey_fg },
|
||||||
},
|
},
|
||||||
|
|
||||||
atom = {
|
atom = {
|
||||||
|
|
@ -117,9 +117,4 @@ end
|
||||||
highlights = vim.tbl_deep_extend("force", highlights, styles[cmp_ui.style] or {})
|
highlights = vim.tbl_deep_extend("force", highlights, styles[cmp_ui.style] or {})
|
||||||
highlights = vim.tbl_deep_extend("force", highlights, item_kinds)
|
highlights = vim.tbl_deep_extend("force", highlights, item_kinds)
|
||||||
|
|
||||||
if cmp_ui.selected_item_bg == "simple" then
|
|
||||||
highlights.CmpSel =
|
|
||||||
{ fg = colors.white, bg = (highlights.CmpPmenu.bg == colors.black2 and colors.grey or colors.one_bg3), bold = true }
|
|
||||||
end
|
|
||||||
|
|
||||||
return highlights
|
return highlights
|
||||||
|
|
|
||||||
|
|
@ -18,21 +18,16 @@ local M = {
|
||||||
bold = true,
|
bold = true,
|
||||||
},
|
},
|
||||||
|
|
||||||
St_LspStatus = {
|
St_Lsp = {
|
||||||
fg = colors.nord_blue,
|
fg = colors.nord_blue,
|
||||||
bg = statusline_bg,
|
bg = statusline_bg,
|
||||||
},
|
},
|
||||||
|
|
||||||
St_LspProgress = {
|
St_LspMsg = {
|
||||||
fg = colors.green,
|
fg = colors.green,
|
||||||
bg = statusline_bg,
|
bg = statusline_bg,
|
||||||
},
|
},
|
||||||
|
|
||||||
St_LspStatus_Icon = {
|
|
||||||
fg = colors.black,
|
|
||||||
bg = colors.nord_blue,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_EmptySpace = {
|
St_EmptySpace = {
|
||||||
fg = colors.grey,
|
fg = colors.grey,
|
||||||
bg = colors.lightbg,
|
bg = colors.lightbg,
|
||||||
|
|
@ -43,7 +38,7 @@ local M = {
|
||||||
bg = statusline_bg,
|
bg = statusline_bg,
|
||||||
},
|
},
|
||||||
|
|
||||||
St_file_info = {
|
St_file = {
|
||||||
bg = colors.lightbg,
|
bg = colors.lightbg,
|
||||||
fg = colors.white,
|
fg = colors.white,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -36,14 +36,12 @@ local M = {
|
||||||
bg = "none",
|
bg = "none",
|
||||||
},
|
},
|
||||||
|
|
||||||
St_LspProgress = {
|
St_LspMsg = {
|
||||||
fg = colors.green,
|
fg = colors.green,
|
||||||
bg = "none",
|
|
||||||
},
|
},
|
||||||
|
|
||||||
St_LspStatus_Icon = {
|
St_Lsp = {
|
||||||
fg = colors.black,
|
fg = colors.green,
|
||||||
bg = colors.nord_blue,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
St_EmptySpace = {
|
St_EmptySpace = {
|
||||||
|
|
@ -55,7 +53,7 @@ local M = {
|
||||||
fg = colors.black,
|
fg = colors.black,
|
||||||
},
|
},
|
||||||
|
|
||||||
St_file_info = {
|
St_file = {
|
||||||
fg = colors.white,
|
fg = colors.white,
|
||||||
bg = "none",
|
bg = "none",
|
||||||
},
|
},
|
||||||
|
|
@ -72,9 +70,9 @@ local M = {
|
||||||
}
|
}
|
||||||
|
|
||||||
local function genModes_hl(modename, col)
|
local function genModes_hl(modename, col)
|
||||||
M["St_" .. modename .. "Mode"] = { fg = colors.black, bg = colors[col], bold = true }
|
M["St_" .. modename .. "Mode"] = { fg = colors.black, bg = colors[col] }
|
||||||
M["St_" .. modename .. "ModeSep"] = { fg = colors[col], bg = colors.black, bold = true }
|
M["St_" .. modename .. "ModeSep"] = { fg = colors[col], bg = colors.black }
|
||||||
M["St_" .. modename .. "modeText"] = { fg = colors[col], bg = colors.one_bg, bold = true }
|
M["St_" .. modename .. "modeText"] = { fg = colors[col], bg = colors.one_bg }
|
||||||
end
|
end
|
||||||
|
|
||||||
genModes_hl("Normal", "blue")
|
genModes_hl("Normal", "blue")
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ local M = {
|
||||||
|
|
||||||
St_Mode = {
|
St_Mode = {
|
||||||
fg = light_grey,
|
fg = light_grey,
|
||||||
bg = colors.one_bg3,
|
bg = colors.one_bg2,
|
||||||
},
|
},
|
||||||
|
|
||||||
StText = {
|
StText = {
|
||||||
|
|
|
||||||
|
|
@ -26,33 +26,24 @@ local M = {
|
||||||
St_lspError = {
|
St_lspError = {
|
||||||
fg = colors.red,
|
fg = colors.red,
|
||||||
bg = statusline_bg,
|
bg = statusline_bg,
|
||||||
bold = true,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
St_lspWarning = {
|
St_lspWarning = {
|
||||||
fg = colors.yellow,
|
fg = colors.yellow,
|
||||||
bg = statusline_bg,
|
bg = statusline_bg,
|
||||||
bold = true,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
St_LspHints = {
|
St_LspHints = {
|
||||||
fg = colors.purple,
|
fg = colors.purple,
|
||||||
bg = statusline_bg,
|
bg = statusline_bg,
|
||||||
bold = true,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
St_LspInfo = {
|
St_Lsp = {
|
||||||
fg = colors.green,
|
|
||||||
bg = statusline_bg,
|
|
||||||
bold = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_LspStatus = {
|
|
||||||
fg = colors.green,
|
fg = colors.green,
|
||||||
bg = statusline_bg,
|
bg = statusline_bg,
|
||||||
},
|
},
|
||||||
|
|
||||||
St_LspProgress = {
|
St_LspMsg = {
|
||||||
fg = colors.red,
|
fg = colors.red,
|
||||||
bg = statusline_bg,
|
bg = statusline_bg,
|
||||||
},
|
},
|
||||||
|
|
@ -62,11 +53,6 @@ local M = {
|
||||||
bg = colors.one_bg3,
|
bg = colors.one_bg3,
|
||||||
},
|
},
|
||||||
|
|
||||||
St_encode = {
|
|
||||||
fg = colors.orange,
|
|
||||||
bg = statusline_bg,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_ft = {
|
St_ft = {
|
||||||
fg = colors.blue,
|
fg = colors.blue,
|
||||||
bg = statusline_bg,
|
bg = statusline_bg,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue