diff options
| author | Tom Dalziel <33435574+tomdl89@users.noreply.github.com> | 2022-04-12 19:13:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-12 19:13:34 +0200 |
| commit | 648da3c544cbb0e03b81295c07aeecac2f5bf221 (patch) | |
| tree | 60725fd297c180c51848e494045a034b72d214df /evil-surround.el | |
| parent | 282a975bda83310d20a2c536ac3cf95d2bf188a5 (diff) | |
| parent | 8449d19d055ad403d47abc5e3d9674ebe5f64efe (diff) | |
Merge pull request #190 from MintSoup/master
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)) |
