Closed Nguyen-Hoang-Nam closed 3 years ago
i just pushed a commit that should fix this
i decided to use vim.fn.strdisplaywidth
because
longest_line
gets memoizedtesting it on my machine this seemed to fix the problem !
thank you for helping me uncover this lua jank
Your function longest_line failed in uft8, I suggest create a function to count utf8 length similar to this