PHP 8.2.30
Preview: check_locales.vim Size: 463 B
/proc/thread-self/root/proc/thread-self/root/usr/share/vim/vim80/spell/check_locales.vim

" 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

Directory Contents

Dirs: 0 × Files: 12

Name Size Perms Modified Actions
463 B lrw-r--r-- 2026-03-12 10:09:58
Edit Download
934 B lrw-r--r-- 2026-03-12 10:09:58
Edit Download
604.53 KB lrw-r--r-- 2026-03-12 10:09:58
Edit Download
583.21 KB lrw-r--r-- 2026-03-12 10:09:58
Edit Download
606.62 KB lrw-r--r-- 2026-03-12 10:09:58
Edit Download
583.96 KB lrw-r--r-- 2026-03-12 10:09:58
Edit Download
607.05 KB lrw-r--r-- 2026-03-12 10:09:58
Edit Download
583.96 KB lrw-r--r-- 2026-03-12 10:09:58
Edit Download
629 B lrw-r--r-- 2026-03-12 10:09:58
Edit Download
240 B lrw-r--r-- 2026-03-12 10:09:58
Edit Download
118 B lrw-r--r-- 2026-03-12 10:09:58
Edit Download
241 B lrw-r--r-- 2026-03-12 10:09:58
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).