aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-09-21 10:15:19 -0400
committerJames McCoy <jamessan@jamessan.com>2016-09-24 14:03:14 -0400
commitd533edf61eef15456efdf16bf45e68c824ee5870 (patch)
tree0fbbf17c1bc09ae02d543edee2b1e6a7528421ab /src/nvim/options.lua
parent68bcb32ec43e2fab30dc05439fc77cf28793922c (diff)
downloadrneovim-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.lua8
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,