fix(nvim): folding character

This commit is contained in:
Moritz Böhme 2023-08-21 10:47:52 +02:00
parent 95cd9c247e
commit ee0568559a

View file

@ -32,7 +32,7 @@ end
local handler = function(virtText, lnum, endLnum, width, truncate) local handler = function(virtText, lnum, endLnum, width, truncate)
local newVirtText = {} local newVirtText = {}
local suffix = (" %d "):format(endLnum - lnum) local suffix = (" 󰁂 %d "):format(endLnum - lnum)
local sufWidth = vim.fn.strdisplaywidth(suffix) local sufWidth = vim.fn.strdisplaywidth(suffix)
local targetWidth = width - sufWidth local targetWidth = width - sufWidth
local curWidth = 0 local curWidth = 0