From 0edb95fa0cbdbae8b01e5409177c06270116409b Mon Sep 17 00:00:00 2001 From: John Szakmeister Date: Wed, 9 Jul 2014 06:12:36 -0400 Subject: 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`. --- src/nvim/po/check.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- cgit