]> git.ipfire.org Git - thirdparty/vim.git/commit
check.vim: Use silent command modifier
authorMuraoka Taro <koron.kaoriya@gmail.com>
Wed, 21 Jan 2026 19:41:58 +0000 (19:41 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 21 Jan 2026 19:41:58 +0000 (19:41 +0000)
commit3456303430a3fd2e628a850f90845cc4cbaa7994
tree47f9ad44c9bd02b0ec61f254b49fe59674aad49b
parent81f1c5d3846c04bfb77165639c7dfef9f7304815
check.vim: Use silent command modifier

Problem:  When checking a .po file (make -C src/po check), errors are not
          displayed.

Solution: Adding "silent" to some normal commands in check.vim
          suppresses unnecessary output (Muraoka Taro)

This is because the output of check.vim is redirected to /dev/null.
However, if you stop the redirection, check.vim generates a lot of
output and becomes very slow.

When these commands are run in ex mode, they output the contents of the
line the cursor is pointing to.  This caused a lot of output.

closes: #19227

Signed-off-by: Muraoka Taro <koron.kaoriya@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/po/Makefile
src/po/check.vim