From 14709a12a7d3f74c04819e7c365535644309ce81 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Wed, 5 Mar 2025 10:48:56 +0000 Subject: [PATCH] Remove unicode from statusline Some terminals use more characters than others for to display certain unicode code points, this resulted the statusline to "leak" past the end of the line causing characters at the next line to be highlighted incorrectly. --- plugin/statusline.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/statusline.lua b/plugin/statusline.lua index 373c727..03cd656 100644 --- a/plugin/statusline.lua +++ b/plugin/statusline.lua @@ -60,7 +60,7 @@ local function get_mode() end -- Display cusor line/total and column -local position = '# ☰ %l/%L 󰠷 %2c ' +local position = '# %l/%L:%2c ' -- Construct a statusline for special buffer types. local function special(group, name, title)