aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-08-23 16:32:52 +0200
committersrdusr <trevorgray@srdusr.com>2023-08-23 16:32:52 +0200
commite80d83d242ff4e80842d38482a32dec96c31a61f (patch)
tree0a05601777814c2db8495850d0494272105276bd /lua
parent79b6fa6f553a9f2d52f05dd73e70f2089758bdeb (diff)
downloaddotfiles-e80d83d242ff4e80842d38482a32dec96c31a61f.tar.gz
dotfiles-e80d83d242ff4e80842d38482a32dec96c31a61f.zip
Add (Left/Right)Space to left and right special (DefaultStatusline) sections
Diffstat (limited to 'lua')
-rw-r--r--lua/plugins/heirline.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/lua/plugins/heirline.lua b/lua/plugins/heirline.lua
index 9066adf..f8ae814 100644
--- a/lua/plugins/heirline.lua
+++ b/lua/plugins/heirline.lua
@@ -792,8 +792,9 @@ local sections = { left, middle, right }
local DefaultStatusline = { sections }
local specialleft = {
- { ViMode, hl = { fg = utils.get_highlight('statusline').bg, force = true } },
- { LeftSpace, hl = { bg = colors.nobg, force = true } },
+ { RightSpace, hl = { bg = colors.nobg, force = true } },
+ { ViMode, hl = { fg = utils.get_highlight('statusline').bg, force = true } },
+ { LeftSpace, hl = { bg = colors.nobg, force = true } },
}
local specialmiddle = {
@@ -805,6 +806,7 @@ local specialmiddle = {
local specialright = {
{ RightSpace, hl = { bg = colors.nobg, force = true } },
{ Ruler, hl = { fg = utils.get_highlight('statusline').bg, force = true } },
+ { LeftSpace, hl = { bg = colors.nobg, force = true } },
}
local specialsections = { specialleft, specialmiddle, specialright }