aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2025-05-28 16:58:26 +0200
committerbfredl <bjorn.linse@gmail.com>2025-06-09 09:33:20 +0200
commit680d3770b19ec4c3f2ec7cd381563b4e0899ffc2 (patch)
tree7770368b55305f095f9263dac1681d4c6a59f247 /runtime/lua/vim
parentf2e60d000ed3e8e9b3f8d2f55d9c7441352e958d (diff)
downloadrneovim-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/vim')
0 files changed, 0 insertions, 0 deletions