mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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`.
This commit is contained in:
parent
67533e0948
commit
0edb95fa0c
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user