diff options
| author | panda <daniel.phan36@gmail.com> | 2019-06-30 22:20:22 -0700 |
|---|---|---|
| committer | Eivind Fonn <evfonn@gmail.com> | 2019-07-28 09:21:58 +0200 |
| commit | 249f8677d9d2c10f4e90c18303db83e2151d3ef8 (patch) | |
| tree | 9d37d000c6c5a1550c3b9958e15475e3aa3f4ee3 /evil-commands.el | |
| parent | 13fc52e7a33bef3ff3920c4cee66b428e5c34609 (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
