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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user