diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-27 20:26:10 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-27 20:26:10 -0300 |
commit | 6f7fe5d1b9b182ad3e2bbefe233d3756a8535ee3 (patch) | |
tree | c5e71dc826256ec160ca44eb475eba2cf98728c0 /src/nvim/option.c | |
parent | 98b11f5db3a99ef633ad77ddc6b22dc428873e95 (diff) | |
download | rneovim-6f7fe5d1b9b182ad3e2bbefe233d3756a8535ee3.tar.gz rneovim-6f7fe5d1b9b182ad3e2bbefe233d3756a8535ee3.tar.bz2 rneovim-6f7fe5d1b9b182ad3e2bbefe233d3756a8535ee3.zip |
Remove code defined under USE_IM_CONTROL #ifdefs
This is not being used and should not be part of the core anyway.
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 1d3281e952..ee70b5bf8a 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -912,18 +912,10 @@ static struct vimoption (char_u *)NULL, PV_NONE, {(char_u *)"", (char_u *)0L} SCRIPTID_INIT}, {"imcmdline", "imc", P_BOOL|P_VI_DEF, -#ifdef USE_IM_CONTROL - (char_u *)&p_imcmdline, PV_NONE, -#else (char_u *)NULL, PV_NONE, -#endif {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, {"imdisable", "imd", P_BOOL|P_VI_DEF, -#ifdef USE_IM_CONTROL - (char_u *)&p_imdisable, PV_NONE, -#else (char_u *)NULL, PV_NONE, -#endif {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, {"iminsert", "imi", P_NUM|P_VI_DEF, @@ -5134,18 +5126,6 @@ set_bool_option ( foldUpdateAll(curwin); } -#ifdef USE_IM_CONTROL - /* 'imdisable' */ - else if ((int *)varp == &p_imdisable) { - /* Only de-activate it here, it will be enabled when changing mode. */ - if (p_imdisable) - im_set_active(FALSE); - else if (State & INSERT) - /* When the option is set from an autocommand, it may need to take - * effect right away. */ - im_set_active(curbuf->b_p_iminsert == B_IMODE_IM); - } -#endif /* 'spell' */ else if ((int *)varp == &curwin->w_p_spell) { |