fix(nvim): folding character
parent
95cd9c247e
commit
ee0568559a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue