Adjust the yss surrounds operator (#11212)
For #11084 In the case of an indentation in front of the current line, it may also be necessary to deal with the start point of the selected range Release Notes: - N/A --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
parent
c9778a36ff
commit
f39a24255c
4 changed files with 87 additions and 14 deletions
|
@ -526,7 +526,7 @@ impl Vim {
|
|||
| Operator::ChangeSurrounds { .. }
|
||||
| Operator::DeleteSurrounds
|
||||
) {
|
||||
self.clear_operator(cx);
|
||||
self.update_state(|state| state.operator_stack.clear());
|
||||
};
|
||||
self.update_state(|state| state.operator_stack.push(operator));
|
||||
self.sync_vim_settings(cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue