From 803b07ee70759b1a3143f3f61cddd3045d795dee Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 21 Jan 2024 01:51:16 -0600 Subject: [PATCH] refactor(nvim): use "..." for folded text --- dots/.config/nvim/lua/plugins/configs/nvim-ufo.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.config/nvim/lua/plugins/configs/nvim-ufo.lua b/dots/.config/nvim/lua/plugins/configs/nvim-ufo.lua index 8499271f..448356bf 100644 --- a/dots/.config/nvim/lua/plugins/configs/nvim-ufo.lua +++ b/dots/.config/nvim/lua/plugins/configs/nvim-ufo.lua @@ -84,7 +84,7 @@ return { -- Show numbers for fold text local handler = function(virtText, lnum, endLnum, width, truncate) local newVirtText = {} - local suffix = (" {...} 󰁂 %d "):format(endLnum - lnum) + local suffix = ("... 󰁂 %d "):format(endLnum - lnum) local sufWidth = vim.fn.strdisplaywidth(suffix) local targetWidth = width - sufWidth local curWidth = 0