Mercurial > vim
view runtime/spell/check_locales.vim @ 24132:512f48dc7100 v8.2.2607
patch 8.2.2607: strcharpart() cannot include composing characters
Commit: https://github.com/vim/vim/commit/02b4d9b18a03549b68e364e428392b7a62766c74
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 14 19:46:45 2021 +0100
patch 8.2.2607: strcharpart() cannot include composing characters
Problem: strcharpart() cannot include composing characters.
Solution: Add the {skipcc} argument.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Mar 2021 20:00:02 +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