summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/winbar.fnl4
1 files changed, 3 insertions, 1 deletions
diff --git a/fnl/config/winbar.fnl b/fnl/config/winbar.fnl
index a472f19..9336e6b 100644
--- a/fnl/config/winbar.fnl
+++ b/fnl/config/winbar.fnl
@@ -36,7 +36,9 @@
(if (and (not= (ignore) true) (not= (is-empty (get-filename)) true))
(let [icon (get-icon)]
(if (not= icon nil)
- (vim.api.nvim_set_option_value :winbar (.. icon " " "%t%m")
+ (vim.api.nvim_set_option_value :winbar (.. " " icon " " "%t%m")
+ {:scope :local})
+ (vim.api.nvim_set_option_value :winbar (.. " " "%t%m")
{:scope :local})))
(vim.api.nvim_set_option_value :winbar "" {:scope :local})))