aboutsummaryrefslogtreecommitdiff
path: root/evil-commands.el
diff options
context:
space:
mode:
authorpanda <daniel.phan36@gmail.com>2019-06-30 22:20:22 -0700
committerEivind Fonn <evfonn@gmail.com>2019-07-28 09:21:58 +0200
commit249f8677d9d2c10f4e90c18303db83e2151d3ef8 (patch)
tree9d37d000c6c5a1550c3b9958e15475e3aa3f4ee3 /evil-commands.el
parent13fc52e7a33bef3ff3920c4cee66b428e5c34609 (diff)
Fix :global behavior with trailing slashes
evil-delimited-arguments might drop characters from the chained command if the input ends with a trailing slash (so in something like :g/pattern/s/pat/repl/, the /pat/repl/ part gets dropped). Since the chained command follows after the slash following the pattern, we can just take a substring instead of relying on `evil-delimited-arguments` for it.
Diffstat (limited to 'evil-commands.el')
0 files changed, 0 insertions, 0 deletions