From a8ab2c5cf1e9b0066b690353ce0ac7ea62c9ef9e Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 17 Jul 2022 19:25:32 +0200 Subject: Format winbar text --- fnl/config/winbar.fnl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}))) -- cgit v1.2.3-70-g09d2