[Github-comments] [geany/geany-plugins] vimode: fix line operation problems when NL is missing at EOF (#1103)

Jiří Techet notifications at xxxxx
Wed Sep 1 13:46:00 UTC 2021


This patch adds \n if it's missing at the EOF before line operations
like yank, delete or paste are parformed to make sure these operations
always work the same way. If added, the extra \n is removed from the
file when the operation is completed.

Fixes the part of #1060 related to line yanking.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/1103

-- Commit Summary --

  * vimode: fix line operation problems when NL is missing at EOF

-- File Changes --

    M vimode/src/cmds/edit.c (45)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/1103.patch
https://github.com/geany/geany-plugins/pull/1103.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1103
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210901/0f821b56/attachment.htm>


More information about the Github-comments mailing list