mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:01164a6546b4 (#16335)
missing changes to src/nvim/po/check.vim from 01164a6546 (diff-ed3e88d59856bb5b62b2a394fb8c7293cd5794531e0718c0aa2d3d768d7973d1)
This commit is contained in:
parent
1f68a21d66
commit
36538417f0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user