view runtime/tools/emoji_list.vim @ 30739:75eac6ecb2e2 v9.0.0704

patch 9.0.0704: CI runs "tiny" and "small" builds, which are the same Commit: https://github.com/vim/vim/commit/b7af5a044525b72ad607a8bf4fcfff9b9b7565df Author: Naruhiko Nishino <naru123456789@gmail.com> Date: Sun Oct 9 13:28:36 2022 +0100 patch 9.0.0704: CI runs "tiny" and "small" builds, which are the same Problem: CI runs "tiny" and "small" builds, which are the same. Solution: Remove the "small" build. (Naruhiko Nishino, closes https://github.com/vim/vim/issues/11315)
author Bram Moolenaar <Bram@vim.org>
date Sun, 09 Oct 2022 14:30:04 +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