diff options
author | zeertzjq <zeertzjq@outlook.com> | 2021-11-18 10:28:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 21:28:20 -0500 |
commit | 36538417f027758ee50faf50c5e4dcc6cb73431d (patch) | |
tree | 57eab3a13ee925fb706af7f7051c1d1446ccae32 /src | |
parent | 1f68a21d66ba8b4cbc7632c8f1ada4be692bd911 (diff) | |
download | rneovim-36538417f027758ee50faf50c5e4dcc6cb73431d.tar.gz rneovim-36538417f027758ee50faf50c5e4dcc6cb73431d.tar.bz2 rneovim-36538417f027758ee50faf50c5e4dcc6cb73431d.zip |
vim-patch:01164a6546b4 (#16335)
missing changes to src/nvim/po/check.vim from https://github.com/vim/vim/commit/01164a6546b4c635daf96a1f17d1cb2d07f32a66#diff-ed3e88d59856bb5b62b2a394fb8c7293cd5794531e0718c0aa2d3d768d7973d1
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/po/check.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/po/check.vim b/src/nvim/po/check.vim index d55d4cfa4d..aca878f9d5 100644 --- a/src/nvim/po/check.vim +++ b/src/nvim/po/check.vim @@ -162,7 +162,10 @@ endwhile " Check that the file is well formed according to msgfmts understanding if executable("msgfmt") let filename = expand("%") - let a = system("msgfmt --statistics OLD_PO_FILE_INPUT=yes " . filename) + " Newer msgfmt does not take OLD_PO_FILE_INPUT argument, must be in + " environment. + let $OLD_PO_FILE_INPUT = 'yes' + let a = system("msgfmt --statistics " . filename) if v:shell_error != 0 let error = matchstr(a, filename.':\zs\d\+\ze:')+0 for line in split(a, '\n') | echomsg line | endfor |