fix(nvim): folding character

nixos
Moritz Böhme 2023-08-21 10:47:52 +02:00
parent 95cd9c247e
commit ee0568559a
1 changed files with 1 additions and 1 deletions

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