diff options
author | James McCoy <jamessan@jamessan.com> | 2016-09-21 10:15:19 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2016-09-24 14:03:14 -0400 |
commit | d533edf61eef15456efdf16bf45e68c824ee5870 (patch) | |
tree | 0fbbf17c1bc09ae02d543edee2b1e6a7528421ab /src/nvim/options.lua | |
parent | 68bcb32ec43e2fab30dc05439fc77cf28793922c (diff) | |
download | rneovim-d533edf61eef15456efdf16bf45e68c824ee5870.tar.gz rneovim-d533edf61eef15456efdf16bf45e68c824ee5870.tar.bz2 rneovim-d533edf61eef15456efdf16bf45e68c824ee5870.zip |
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
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -644,6 +644,14 @@ return { 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'}, deny_in_modelines=true, |