aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/po/check.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/po/check.vim b/src/nvim/po/check.vim
index 5a3a0e3f46..e9d15adab5 100644
--- a/src/nvim/po/check.vim
+++ b/src/nvim/po/check.vim
@@ -6,6 +6,8 @@
if 1 " Only execute this if the eval feature is available.
+redir! > check.log
+
" Function to get a split line at the cursor.
" Used for both msgid and msgstr lines.
" Removes all text except % items and returns the result.
@@ -82,6 +84,8 @@ if error == 0
echo "OK"
endif
+redir END
+
let &wrapscan = s:save_wrapscan
unlet s:save_wrapscan