Mercurial > vim
view runtime/spell/check_locales.vim @ 31798:5948cc887603 v9.0.1231
patch 9.0.1231: completion of :runtime does not handle {where} argument
Commit: https://github.com/vim/vim/commit/3770f4c9cde7b5fcd10b6fa2e665cd0b69450fb2
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun Jan 22 18:38:51 2023 +0000
patch 9.0.1231: completion of :runtime does not handle {where} argument
Problem: Completion of :runtime does not handle {where} argument.
Solution: Parse the {where} argument. (closes https://github.com/vim/vim/issues/11863)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 22 Jan 2023 19:45:04 +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