aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/generators
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-08 21:20:27 +0800
committerGitHub <noreply@github.com>2022-08-08 21:20:27 +0800
commitd36c2fa7137d9e388e1a5d99f42cb11394bc8b77 (patch)
tree3b1bcf6bbb4d284c385c5afb412869fc993257d0 /src/nvim/generators
parenta46e6afb8b95229478c5c1fb75e3f1c55991def0 (diff)
parent603f7bd253e6dd3693e2957f0beb3223945fe705 (diff)
downloadrneovim-d36c2fa7137d9e388e1a5d99f42cb11394bc8b77.tar.gz
rneovim-d36c2fa7137d9e388e1a5d99f42cb11394bc8b77.tar.bz2
rneovim-d36c2fa7137d9e388e1a5d99f42cb11394bc8b77.zip
Merge pull request #19674 from zeertzjq/vim-8.2.1535
vim-patch:8.2.{1535,1537,3545}: setcellwidths()
Diffstat (limited to 'src/nvim/generators')
-rw-r--r--src/nvim/generators/gen_unicode_tables.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/generators/gen_unicode_tables.lua b/src/nvim/generators/gen_unicode_tables.lua
index aa96c97bc1..36553f4649 100644
--- a/src/nvim/generators/gen_unicode_tables.lua
+++ b/src/nvim/generators/gen_unicode_tables.lua
@@ -12,8 +12,8 @@
-- 2 then interval applies only to first, third, fifth, … character in range.
-- Fourth value is number that should be added to the codepoint to yield
-- folded/lower/upper codepoint.
--- 4. emoji_width and emoji_all tables: sorted lists of non-overlapping closed
--- intervals of Emoji characters. emoji_width contains all the characters
+-- 4. emoji_wide and emoji_all tables: sorted lists of non-overlapping closed
+-- intervals of Emoji characters. emoji_wide contains all the characters
-- which don't have ambiguous or double width, and emoji_all has all Emojis.
if arg[1] == '--help' then
print('Usage:')
@@ -288,7 +288,7 @@ local build_emoji_table = function(ut_fp, emojiprops, doublewidth, ambiwidth)
end
ut_fp:write('};\n')
- ut_fp:write('static const struct interval emoji_width[] = {\n')
+ ut_fp:write('static const struct interval emoji_wide[] = {\n')
for _, p in ipairs(emojiwidth) do
ut_fp:write(make_range(p[1], p[2]))
end