aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.