diff options
author | Ivan Tham | 2022-05-11 01:12:27 +0000 |
---|---|---|
committer | GitHub | 2022-05-11 01:12:27 +0000 |
commit | 0477d0289476c34e6b4d11a28165fee0c49063b3 (patch) | |
tree | 63db7b95e834f28d2e21dcaed70933a2221e65d8 /runtime/queries/nix/highlights.scm | |
parent | c80ac84978fa224498aaae86e2434b568221d216 (diff) |
Exclude cursor when doing ctrl-w (#2431)
Currently ctrl-w in insert mode deletes the cursor which results in
unexpected behavior. The patch also reduces the selection to cursor before
performing prev word to remove the behavior of removing unnecessary text
when nothing should be removed.
1. `::#(|)#::` after `ctrl-w` should be `#(|)#::`, previously `#(|)#:`
2. `#(|::)#` after `ctrl-w` should be `#(|::)#`, previously `#(|)#`
Fix #2390
Diffstat (limited to 'runtime/queries/nix/highlights.scm')
0 files changed, 0 insertions, 0 deletions