diff options
| author | Yochem van Rosmalen <git@yochem.nl> | 2026-02-10 13:43:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-10 07:43:17 -0500 |
| commit | a6252c6683cccdd8ed56fa4ad70df9ea606e1498 (patch) | |
| tree | 0474d3321f23cf74cef06e2195de5a1f5f95fe64 /test/functional/vimscript/string_spec.lua | |
| parent | 16c8a908ef675feeca459ba42e4ed04e181ac89f (diff) | |
| download | rneovim-a6252c6683cccdd8ed56fa4ad70df9ea606e1498.tar.gz rneovim-a6252c6683cccdd8ed56fa4ad70df9ea606e1498.tar.bz2 rneovim-a6252c6683cccdd8ed56fa4ad70df9ea606e1498.zip | |
refactor(help): move escaping logic to Lua #37757
Problem:
Escaping logic for {subject} in ex cmd `:help {subject}` is done in a
messy 200+ lines C function which is hard to maintain and improve.
Solution:
Rewrite in Lua. Use `string.gsub()` instead of looping over characters
to improve clarity and add many more tests to be able to confidently
improve current code later on.
Diffstat (limited to 'test/functional/vimscript/string_spec.lua')
0 files changed, 0 insertions, 0 deletions