diff options
| author | Areg <aregak2005@gmail.com> | 2022-04-09 21:46:38 +0400 |
|---|---|---|
| committer | Areg <aregak2005@gmail.com> | 2022-04-09 21:46:38 +0400 |
| commit | 8449d19d055ad403d47abc5e3d9674ebe5f64efe (patch) | |
| tree | 60725fd297c180c51848e494045a034b72d214df /evil-surround.el | |
| parent | 282a975bda83310d20a2c536ac3cf95d2bf188a5 (diff) | |
Fix visual screen-line surrounding bug.
Diffstat (limited to 'evil-surround.el')
| -rw-r--r-- | evil-surround.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-surround.el b/evil-surround.el index 26cf211..942e252 100644 --- a/evil-surround.el +++ b/evil-surround.el @@ -406,7 +406,7 @@ Becomes this: (setq beg-pos (point)) (insert open) (when force-new-line (newline-and-indent)) - (evil-end-of-visual-line) + (goto-char (overlay-end overlay)) (if force-new-line (when (eobp) (newline-and-indent)) |
