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
Merged #1103 into master.
github-comments@lists.geany.org