How do I get the length, in bytes, of the current line in Lua?
vim.api.strlen('foo')
doesn't work
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this community
#
This is language core.