Mercurial > vim
diff src/screen.c @ 14424:0a69e6e708f9 v8.1.0226
patch 8.1.0226: too many #ifdefs
commit https://github.com/vim/vim/commit/1f0bfe561737cd445532f20d7607a81d1dadddee
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 29 16:09:22 2018 +0200
patch 8.1.0226: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate the +vreplace feature, it's not much code and quite a few
#ifdefs.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 29 Jul 2018 16:15:05 +0200 |
parents | 539b070778b0 |
children | aab5947be7c5 |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -10375,12 +10375,9 @@ showmode(void) else #endif { -#ifdef FEAT_VREPLACE if (State & VREPLACE_FLAG) MSG_PUTS_ATTR(_(" VREPLACE"), attr); - else -#endif - if (State & REPLACE_FLAG) + else if (State & REPLACE_FLAG) MSG_PUTS_ATTR(_(" REPLACE"), attr); else if (State & INSERT) {