diff options
Diffstat (limited to 'src/po/cleanup.vim')
-rw-r--r-- | src/po/cleanup.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/po/cleanup.vim b/src/po/cleanup.vim index b27d88092f..4bb7ae7a19 100644 --- a/src/po/cleanup.vim +++ b/src/po/cleanup.vim @@ -18,7 +18,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 |