Mercurial > vim
view runtime/spell/check_locales.vim @ 24770:e75971b83263 v8.2.2923
patch 8.2.2923: EBCDIC build is broken
Commit: https://github.com/vim/vim/commit/eecf2b35a146d7d5512f2525ad631d796e19edac
Author: K.Takata <kentkt@csc.jp>
Date: Wed Jun 2 14:56:39 2021 +0200
patch 8.2.2923: EBCDIC build is broken
Problem: EBCDIC build is broken.
Solution: Move sortFunctions() to evalfunc.c. (Ken Takata, closes https://github.com/vim/vim/issues/8306)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 02 Jun 2021 15:00:03 +0200 |
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