aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/text.lua
Commit message (Collapse)AuthorAge
* perf(vim.text): use lookup table implementation for hex encoding (#30080)Gregory Anders2024-11-26
| | | Co-authored-by: glepnir <glephunter@gmail.com>
* fix(vim.text): handle very long strings (#30075)Gregory Anders2024-08-17
| | | | | | | | Lua's string.byte has a maximum (undocumented) allowable length, so vim.text.hencode fails on large strings with the error "string slice too long". Instead of converting the string to an array of bytes up front, convert each character to a byte one at a time.
* fix(vim.text): remove assert from vim.text.hexdecodeGregory Anders2024-05-31
| | | | Instead, return nil plus an error message if the input is invalid.
* refactor(lua): type annotationsLewis Russell2024-03-16
|
* fix(docs): clean up non-docstring comments for vimdoc genJongwook Choi2024-01-02
| | | | | These non-docstring comments can be included into doxygen's brief description and then appear in the succeeding function documentation.
* feat: add vim.text module (#26069)Gregory Anders2023-11-16