From d533edf61eef15456efdf16bf45e68c824ee5870 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Wed, 21 Sep 2016 10:15:19 -0400 Subject: vim-patch:7.4.1604 Problem: Although emoji characters are ambiguous width, best is to treat them as full width. Solution: Update the Unicode character tables. Add the 'emoji' options. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/3848e00e0177abdb31bc600234967863ec487233 --- src/nvim/options.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/nvim/options.lua') diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 060ec8c1e1..583c63614a 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -643,6 +643,14 @@ return { varname='p_force_off', defaults={if_true={vi=false}} }, + { + full_name='emoji', abbreviation='emo', + type='bool', scope={'global'}, + vi_def=true, + redraw={'everything'}, + varname='p_emoji', + defaults={if_true={vi=true}} + }, { full_name='encoding', abbreviation='enc', type='string', scope={'global'}, -- cgit