aboutsummaryrefslogtreecommitdiff
path: root/scripts/lintcommit.lua
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2025-04-09 23:10:51 -0600
committerJosh Rahm <joshuarahm@gmail.com>2025-04-16 17:41:19 +0000
commitd9f4bc7bbd305c0a0a57ee78f99f8349ff97964e (patch)
tree5eaec96065860fccefad1ff47f64e6e7fc6ed231 /scripts/lintcommit.lua
parent2034a8419e1c5675592cdd0d0ffeaadfda58001a (diff)
downloadrneovim-userregs_2.tar.gz
rneovim-userregs_2.tar.bz2
rneovim-userregs_2.zip
fix(repeat_cmdline): Save the repeat_cmdline when calling a userfunc.userregs_2
There's a very subtle bug when calling a userfunc where the redo buffer is saved, but the repeat_cmdline is not. This causes the redo buffer on do-repeat to call the most recently executed userfunc rather than the userfunc it should be dot-repeating. This is only an issue when trying to dot-repeat a userfunction within a user function. I found this bug when experimenting with using text motions, specifically the Z* verbs in fieldmarshal. Specifically the Z* motions (for inserting/appending before/after a text object) would be dot-repeatable for builtin text objects, but would not be dot-repeatable for user-defined text objects.
Diffstat (limited to 'scripts/lintcommit.lua')
0 files changed, 0 insertions, 0 deletions