fix(runtime): fully port emoji_list to Lua

Problem: `runtime/tools/emoji_list.vim` is a Lua script masquerading as
Vimscript, which is unnecessary now that `:source` works for Lua files.

Solution: Remove Vimscript wrapper.
This commit is contained in:
Christian Clason
2024-10-05 13:11:16 +02:00
parent 056009f741
commit 9788b81d7e
5 changed files with 22 additions and 24 deletions

View File

@@ -9464,7 +9464,7 @@ M.funcs = {
To clear the overrides pass an empty {list}: >vim
call setcellwidths([])
<You can use the script $VIMRUNTIME/tools/emoji_list.vim to see
<You can use the script $VIMRUNTIME/tools/emoji_list.lua to see
the effect for known emoji characters. Move the cursor
through the text to check if the cell widths of your terminal
match with what Vim knows about each emoji. If it doesn't