summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim/config/lua/winbar.lua
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-09-27 20:02:16 -0400
committertriethyl <triethylammonium@pm.me>2025-09-27 20:02:16 -0400
commita1c0ecfba40e028d4d730a561fef322bcee97365 (patch)
treed3249d849b2b845cd8c0199532ba1c191f09c7c8 /pkgs/custom-neovim/config/lua/winbar.lua
parent3399daae1d7baff4be3ae953ae32a9358962ef67 (diff)
neovim: bunch of stuff
Diffstat (limited to 'pkgs/custom-neovim/config/lua/winbar.lua')
-rw-r--r--pkgs/custom-neovim/config/lua/winbar.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/custom-neovim/config/lua/winbar.lua b/pkgs/custom-neovim/config/lua/winbar.lua
index 8750ce4..31267a9 100644
--- a/pkgs/custom-neovim/config/lua/winbar.lua
+++ b/pkgs/custom-neovim/config/lua/winbar.lua
@@ -167,7 +167,13 @@ Winbar_builder = function ()
end
-- Concatentate strings with gaps
- return table.concat(winbar_strings, gaps)
+ local bar = table.concat(winbar_strings, gaps)
+
+ if vim.o.signcolumn then
+ return " "..bar
+ end
+
+ return bar
end
-- Set winbar