neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 8212bec4e94b42464cf09b37ae475f9bd3402df6
parent c2a9c64d231ff234a32189996ed88a8c91c0c046
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Fri, 25 Nov 2022 11:37:11 +0800

vim-patch:8.2.4412: translation cleanup script does not remove empty lines at end

Problem:    Translation cleanup script does not remove empty lines at end.
Solution:   Remove empty lines at the end. (Ken Takata, closes vim/vim#9794)

https://github.com/vim/vim/commit/0257599036ceb3658b27a4de07834ca0d2fa418e

Diffstat:
Msrc/nvim/po/cleanup.vim | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/nvim/po/cleanup.vim b/src/nvim/po/cleanup.vim @@ -22,7 +22,9 @@ silent g/^msgstr"/s//msgstr "/ silent g/^msgid"/s//msgid "/ silent g/^msgstr ""\(\n"\)\@!/?^msgid?,.s/^/#\~ / +" clean up empty lines silent g/^\n\n\n/.d +silent! %s/\n\+\%$// if s:was_diff setl diff