Mercurial > vim
view runtime/spell/check_locales.vim @ 22377:b2cb2a321af9 v8.2.1737
patch 8.2.1737: cursor line highlight in popup window is not always updated
Commit: https://github.com/vim/vim/commit/10476521f51d5902d191f2189307781fc48a3a16
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 24 22:57:31 2020 +0200
patch 8.2.1737: cursor line highlight in popup window is not always updated
Problem: Cursor line highlight in popup window is not always updated.
Solution: Check if the cursor has moved. (closes https://github.com/vim/vim/issues/7010)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 24 Sep 2020 23:00:04 +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