aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-10-30 22:23:52 +0200
committersrdusr <trevorgray@srdusr.com>2023-10-30 22:23:52 +0200
commit9f0e36631257ca104d3e9f2e4caf0041a37a08f8 (patch)
treef133aacf06381e003ee306a2a9eef6749a738a35 /lua
parentbb9f2f87380dd8fa5d626865288a2af7fa34b092 (diff)
downloaddotfiles-9f0e36631257ca104d3e9f2e4caf0041a37a08f8.tar.gz
dotfiles-9f0e36631257ca104d3e9f2e4caf0041a37a08f8.zip
Changed foreground color for ViMode and Ruler to black
Diffstat (limited to 'lua')
-rw-r--r--lua/plugins/heirline.lua18
1 files changed, 12 insertions, 6 deletions
diff --git a/lua/plugins/heirline.lua b/lua/plugins/heirline.lua
index 11356d9..c41aff3 100644
--- a/lua/plugins/heirline.lua
+++ b/lua/plugins/heirline.lua
@@ -776,13 +776,19 @@ end, { Space, LSPActive, hl = { bg = colors.darkgray, force = true } })
FileInfoBlock = utils.surround({ '', '' }, function(self)
return self:mode_color()
-end, { FileInfoBlock, Space, hl = { bg = colors.gray, force = true } })
+end, { FileInfoBlock, Space, hl = { bg = colors.black, force = true } })
-Ruler = utils.surround({ '', '' }, colors.black, { Ruler, hl = { fg = colors.black, force = true } })
+ViMode = utils.surround({ '', '' }, function(self)
+ return self:mode_color()
+end, { ViMode, hl = { fg = colors.black, force = true } })
+
+Ruler = utils.surround({ '', '' }, function(self)
+ return self:mode_color()
+end, { Ruler, hl = { fg = colors.black, force = true } })
local left = {
{ RightSpace, hl = { bg = colors.nobg, force = true } },
- { ViMode, hl = { fg = utils.get_highlight('statusline').bg, force = true } },
+ { ViMode, hl = { bg = utils.get_highlight('statusline').bg, bold = false } },
{ LeftSpace, hl = { bg = colors.nobg, force = true } },
{ Space, hl = { bg = colors.nobg, force = true } },
{ FileNameBlock, hl = { bg = colors.nobg, force = true } },
@@ -805,7 +811,7 @@ local right = {
{ Space, hl = { bg = colors.nobg, force = true } },
{ FileInfoBlock, hl = { bg = colors.nobg, force = true } },
{ RightSpace, hl = { bg = colors.nobg, force = true } },
- { Ruler, hl = { fg = utils.get_highlight('statusline').bg, force = true } },
+ { Ruler, hl = { fg = utils.get_highlight('statusline').bg, bold = false } },
{ LeftSpace, hl = { bg = colors.nobg, force = true } },
}
@@ -814,7 +820,7 @@ local DefaultStatusline = { sections }
local specialleft = {
{ RightSpace, hl = { bg = colors.nobg, force = true } },
- { ViMode, hl = { fg = utils.get_highlight('statusline').bg, force = true } },
+ { ViMode, hl = { bg = utils.get_highlight('statusline').bg, bold = false } },
{ LeftSpace, hl = { bg = colors.nobg, force = true } },
}
@@ -826,7 +832,7 @@ local specialmiddle = {
local specialright = {
{ RightSpace, hl = { bg = colors.nobg, force = true } },
- { Ruler, hl = { fg = utils.get_highlight('statusline').bg, force = true } },
+ { Ruler, hl = { fg = utils.get_highlight('statusline').bg, bold = false } },
{ LeftSpace, hl = { bg = colors.nobg, force = true } },
}