diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-17 19:25:32 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-17 19:25:32 +0200 |
commit | a8ab2c5cf1e9b0066b690353ce0ac7ea62c9ef9e (patch) | |
tree | 8a12422f4db78cca11eb1c22f4b131826d8cb556 | |
parent | 794890b6dbab3328565de0c7b37a053643f8a721 (diff) |
Format winbar text
-rw-r--r-- | fnl/config/winbar.fnl | 4 |
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}))) |