plenary.nvim icon indicating copy to clipboard operation
plenary.nvim copied to clipboard

Parser combinators and utf8 library

Open oberblastmeister opened this issue 4 years ago • 2 comments

utf8 library from https://github.com/britzl/gooey/blob/master/gooey/internal/utf8.lua

oberblastmeister avatar Apr 09 '21 16:04 oberblastmeister

FYI there is also https://github.com/nvim-lua/plenary.nvim/pull/96 which moves the utf8 displaylen, truncate and align_str from telescope to plenary so we can have truncate border titles (i need this to have dynamic border titles which display e.g. current previewed file name, my code is done i just need the truncate, so i am still quitting if tj askes :rofl:).

I haven't looked at any code here and have no idea if both things are related or not, please talk with @delphinus about everything. :) Thanks

Conni2461 avatar Apr 09 '21 21:04 Conni2461

There was also talk on Gitter about exposing neovim's internal mbyte functions to Lua. This might be the best option since disagreement between vim's C core and Lua functions about column position in multibyte strings is a major pain point...

clason avatar Apr 10 '21 08:04 clason