Mercurial > vim
view runtime/spell/check_locales.vim @ 15245:74bc96b99f4f v8.1.0631
patch 8.1.0631: test for :stop fails on Arch
commit https://github.com/vim/vim/commit/d6024e2dd4e0c1556d9b69e61c4059fa78e5609d
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 24 19:15:20 2018 +0100
patch 8.1.0631: test for :stop fails on Arch
Problem: Test for :stop fails on Arch.
Solution: Check five lines for the expected output. (closes https://github.com/vim/vim/issues/3714)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 24 Dec 2018 19:30:07 +0100 |
parents | ea3c3f13385c |
children |
line wrap: on
line source
" Script to check if all the locales used in spell files are available. grep /sys env LANG/ */main.aap let not_supported = [] for item in getqflist() let lang = substitute(item.text, '.*LANG=\(\S\+\).*', '\1', '') try exe 'lang ' . lang catch /E197/ call add(not_supported, lang) endtry endfor if len(not_supported) > 0 echo "Unsupported languages:" for l in not_supported echo l endfor else echo "Everything appears to be OK" endif