Mercurial > vim
view runtime/tools/emoji_list.vim @ 28938:ddbb36c1830b v8.2.4991
patch 8.2.4991: no test for hwat patch 8.1.0535 fixes
Commit: https://github.com/vim/vim/commit/93c1573dd284dc9cf5ed9265a0143aaf520d2920
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat May 21 16:34:38 2022 +0100
patch 8.2.4991: no test for hwat patch 8.1.0535 fixes
Problem: No test for hwat patch 8.1.0535 fixes.
Solution: Add a test. (closes https://github.com/vim/vim/issues/10462)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 21 May 2022 17:45:03 +0200 |
parents | 99ef85ff1af4 |
children |
line wrap: on
line source
" Script to fill the window with emoji characters, one per line. " Source this script: :source % if &modified new else enew endif " Use a compiled Vim9 function for speed def DoIt() var lnum = 1 for c in range(0x100, 0x1ffff) var cs = nr2char(c) if charclass(cs) == 3 setline(lnum, '|' .. cs .. '| ' .. strwidth(cs)) lnum += 1 endif endfor enddef call DoIt() set nomodified