aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2014-07-09 06:12:36 -0400
committerJohn Szakmeister <john@szakmeister.net>2014-07-17 05:47:32 -0400
commit0edb95fa0cbdbae8b01e5409177c06270116409b (patch)
tree4d16c90ef8efcf9b4dcf53697f4d0fd370e24259
parent67533e09489d6d1bc689d4816776307988471efd (diff)
downloadrneovim-0edb95fa0cbdbae8b01e5409177c06270116409b.tar.gz
rneovim-0edb95fa0cbdbae8b01e5409177c06270116409b.tar.bz2
rneovim-0edb95fa0cbdbae8b01e5409177c06270116409b.zip
Customize the log file for the check targets based on the input file.
The idea being that it's better to segregate feedback, just in case someone is working on several translations. Now the check log will appear in `./build/src/nvim/po/check-${LANG}.log`.
-rw-r--r--src/nvim/po/check.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/po/check.vim b/src/nvim/po/check.vim
index e9d15adab5..1622741da6 100644
--- a/src/nvim/po/check.vim
+++ b/src/nvim/po/check.vim
@@ -6,7 +6,8 @@
if 1 " Only execute this if the eval feature is available.
-redir! > check.log
+let filename = "check-" . expand("%:t:r") . ".log"
+exe 'redir! > ' . filename
" Function to get a split line at the cursor.
" Used for both msgid and msgstr lines.