From 5f2ccb94d2103969aabed9e57f1a0b0b691a3356 Mon Sep 17 00:00:00 2001 From: Hinidu Date: Fri, 11 Apr 2014 23:45:48 +0300 Subject: Remove FEAT_CURSORBIND Synchronization of cursor in split windows for diff mode --- src/nvim/buffer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index ee606d9e80..2f5ae416b3 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -1111,8 +1111,7 @@ do_buffer ( /* Go to the other buffer. */ set_curbuf(buf, action); -#if defined(FEAT_LISTCMDS) \ - && (defined(FEAT_SCROLLBIND) || defined(FEAT_CURSORBIND)) +#ifdef FEAT_LISTCMDS if (action == DOBUF_SPLIT) { RESET_BINDING(curwin); /* reset 'scrollbind' and 'cursorbind' */ } -- cgit