summaryrefslogtreecommitdiff
path: root/runtime/queries/go/highlights.scm
diff options
context:
space:
mode:
authorMichael Davis2022-11-04 02:02:26 +0000
committerBlaž Hrastnik2022-11-07 04:38:16 +0000
commit140df92d7936e1fd036128d98ab565d92e9d2bd8 (patch)
tree450f4f94bcfd863b801991aad5ac04441daead2b /runtime/queries/go/highlights.scm
parent3d283b2ca43bb077f52c48fec5e4870cd314b4e3 (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/go/highlights.scm')
0 files changed, 0 insertions, 0 deletions