aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHinidu <hinidu@gmail.com>2014-04-12 00:05:36 +0300
committerJustin M. Keyes <justinkz@gmail.com>2014-05-28 13:08:54 -0400
commit50429aee6edf6f2bfd2d74911179445ee66282a2 (patch)
tree715ec6f4350cb55797907d993e47feffa5ddfcb6
parent0b4d990adfd39ea20267e83135fd206a57cd6a8d (diff)
downloadrneovim-50429aee6edf6f2bfd2d74911179445ee66282a2.tar.gz
rneovim-50429aee6edf6f2bfd2d74911179445ee66282a2.tar.bz2
rneovim-50429aee6edf6f2bfd2d74911179445ee66282a2.zip
Remove FEAT_LISTCMDS
Vim commands for the buffer list and the argument list: ":buffer", ":bnext", ":bdel", ":argdelete", etc.
-rw-r--r--config/config.h.in1
-rw-r--r--src/nvim/buffer.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/config/config.h.in b/config/config.h.in
index 1da78cb72e..87aca74fb8 100644
--- a/config/config.h.in
+++ b/config/config.h.in
@@ -119,7 +119,6 @@
#define FEAT_LANGMAP
#define FEAT_LINEBREAK
#define FEAT_LISP
-#define FEAT_LISTCMDS
#define FEAT_LOCALMAP
#define FEAT_MENU
#define FEAT_MODIFY_FNAME
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 2f5ae416b3..d3dcb375b2 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -1111,11 +1111,9 @@ do_buffer (
/* Go to the other buffer. */
set_curbuf(buf, action);
-#ifdef FEAT_LISTCMDS
if (action == DOBUF_SPLIT) {
RESET_BINDING(curwin); /* reset 'scrollbind' and 'cursorbind' */
}
-#endif
if (aborting()) /* autocmds may abort script processing */
return FAIL;