diff options
| author | bfredl <bjorn.linse@gmail.com> | 2025-05-28 16:58:26 +0200 |
|---|---|---|
| committer | bfredl <bjorn.linse@gmail.com> | 2025-06-09 09:33:20 +0200 |
| commit | 680d3770b19ec4c3f2ec7cd381563b4e0899ffc2 (patch) | |
| tree | 7770368b55305f095f9263dac1681d4c6a59f247 /runtime/lua | |
| parent | f2e60d000ed3e8e9b3f8d2f55d9c7441352e958d (diff) | |
| download | rneovim-680d3770b19ec4c3f2ec7cd381563b4e0899ffc2.tar.gz rneovim-680d3770b19ec4c3f2ec7cd381563b4e0899ffc2.tar.bz2 rneovim-680d3770b19ec4c3f2ec7cd381563b4e0899ffc2.zip | |
refactor(shada): replace macros taking macros and code fragments
I guess these kinds of DRY techniques are kinda cutesy but unfortunately
I cannot expand macros invoking macros with various kind of syntax
fragments and back-references to local variables, at the same time
as I try to understand what is actually going on when you :wshada or :rshada
your jump marks, some of which having fname:s in them and some not.
This replaces it with four spelled out loops, although it is fine to
keep the memmove() related code generic in the item size just by passing a
runtime parameter (we have generics at home). Galaxy brain -03 -flto compilers
are gonna inline it anyway if it is worth it.
Diffstat (limited to 'runtime/lua')
0 files changed, 0 insertions, 0 deletions