diff options
Diffstat (limited to 'pkgs/custom-neovim/config/lua/winbar.lua')
| -rw-r--r-- | pkgs/custom-neovim/config/lua/winbar.lua | 8 |
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 |
