aboutsummaryrefslogtreecommitdiff
path: root/src/po/cleanup.vim
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-05-12 02:25:17 +0200
committerEliseo Martínez <eliseomarmol@gmail.com>2014-05-15 20:46:01 +0200
commitda51dc9cf202772f60bd2da975dbef257bd9237c (patch)
tree5c16b93238a153f55634e9323077f30c8133970c /src/po/cleanup.vim
parentffe61e5ba1721340ca51d56bae3ddaca415fb5bc (diff)
downloadrneovim-da51dc9cf202772f60bd2da975dbef257bd9237c.tar.gz
rneovim-da51dc9cf202772f60bd2da975dbef257bd9237c.tar.bz2
rneovim-da51dc9cf202772f60bd2da975dbef257bd9237c.zip
Introduce nvim namespace: Move files.
Move files from src/ to src/nvim/. - src/nvim/ becomes the new root dir for nvim executable sources. - src/libnvim/ is planned to become root dir of the neovim library.
Diffstat (limited to 'src/po/cleanup.vim')
-rw-r--r--src/po/cleanup.vim19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/po/cleanup.vim b/src/po/cleanup.vim
deleted file mode 100644
index 24ae74ed38..0000000000
--- a/src/po/cleanup.vim
+++ /dev/null
@@ -1,19 +0,0 @@
-" Vim script to cleanup a .po file:
-" - Remove line numbers (avoids that diffs are messy).
-" - Comment-out fuzzy and empty messages.
-" - Make sure there is a space before the string (required for Solaris).
-" Requires Vim 6.0 or later (because of multi-line search patterns).
-
-" Disable diff mode, because it makes this very slow
-let s:was_diff = &diff
-setl nodiff
-
-silent g/^#: /d
-silent g/^#, fuzzy\(, .*\)\=\nmsgid ""\@!/.+1,/^$/-1s/^/#\~ /
-silent g/^msgstr"/s//msgstr "/
-silent g/^msgid"/s//msgid "/
-silent g/^msgstr ""\(\n"\)\@!/?^msgid?,.s/^/#\~ /
-
-if s:was_diff
- setl diff
-endif