Open jake-stewart opened 1 year ago
Lua is not a good choice for handling UTF8 characters like
print (string.sub("s你好-test", 1, 3))
characters are truncated,
and Jfind spends most of the time doing string processing
Lua is not a good choice for handling UTF8 characters like
print (string.sub("s你好-test", 1, 3))
characters are truncated,and Jfind spends most of the time doing string processing
we can provide our own string.sub
and other utils. unless you have other ideas?
i dislike many languages, lua very much included
pybind11 is recommended Because head-only is easy to compile
Python is a widely used scripting language
Packages that process text can be added directly
pybind11 is recommended Because head-only is easy to compile
- Python is a widely used scripting language
- Packages that process text can be added directly
i love it
the script should be the final argument to jfind
for e.g:
this would allow for easier customisation. for example there could be a lua function which highlights a line in the preview. this would make live grep work without the nasty
--preview-line
flag.and then while doing live grep you could enter fuzzy matching mode with the grepped results