summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim/config/lua/winbar.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/custom-neovim/config/lua/winbar.lua')
-rw-r--r--pkgs/custom-neovim/config/lua/winbar.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/custom-neovim/config/lua/winbar.lua b/pkgs/custom-neovim/config/lua/winbar.lua
index 1e68c9d..8750ce4 100644
--- a/pkgs/custom-neovim/config/lua/winbar.lua
+++ b/pkgs/custom-neovim/config/lua/winbar.lua
@@ -156,7 +156,7 @@ local gaps = " "
-- Process and apply statusline.
Winbar_builder = function ()
- --get a table of all the winbar strings
+ -- get a table of all the winbar strings
local winbar_strings = winbar()
-- Remove empty strings to prevent concat issues
@@ -170,4 +170,5 @@ Winbar_builder = function ()
return table.concat(winbar_strings, gaps)
end
+-- Set winbar
vim.o.winbar = "%{%v:lua.Winbar_builder()%}"