diff options
author | Michael Davis | 2022-11-04 02:02:26 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-11-07 04:38:16 +0000 |
commit | 140df92d7936e1fd036128d98ab565d92e9d2bd8 (patch) | |
tree | 450f4f94bcfd863b801991aad5ac04441daead2b /runtime/queries/awk/injections.scm | |
parent | 3d283b2ca43bb077f52c48fec5e4870cd314b4e3 (diff) |
Fix command-mode completion behavior when input is escaped
If `a\ b.txt` were a local file, `:o a\ <tab>` would fill the prompt
with `:o aa\ b.txt` because the replacement range was calculated using
the shellwords-parsed part. Escaping the part before calculating its
length fixes this edge-case.
Diffstat (limited to 'runtime/queries/awk/injections.scm')
0 files changed, 0 insertions, 0 deletions