mirror of
https://github.com/neovim/neovim.git
synced 2025-10-11 12:26:37 +00:00
Remove FEAT_CURSORBIND
Synchronization of cursor in split windows for diff mode
This commit is contained in:
@@ -106,7 +106,6 @@
|
|||||||
#define FEAT_CMDHIST
|
#define FEAT_CMDHIST
|
||||||
#define FEAT_CONCEAL
|
#define FEAT_CONCEAL
|
||||||
#define FEAT_CSCOPE
|
#define FEAT_CSCOPE
|
||||||
#define FEAT_CURSORBIND
|
|
||||||
#define FEAT_DIGRAPHS
|
#define FEAT_DIGRAPHS
|
||||||
#define FEAT_EVAL
|
#define FEAT_EVAL
|
||||||
#define FEAT_EX_EXTRA
|
#define FEAT_EX_EXTRA
|
||||||
|
@@ -1111,8 +1111,7 @@ do_buffer (
|
|||||||
/* Go to the other buffer. */
|
/* Go to the other buffer. */
|
||||||
set_curbuf(buf, action);
|
set_curbuf(buf, action);
|
||||||
|
|
||||||
#if defined(FEAT_LISTCMDS) \
|
#ifdef FEAT_LISTCMDS
|
||||||
&& (defined(FEAT_SCROLLBIND) || defined(FEAT_CURSORBIND))
|
|
||||||
if (action == DOBUF_SPLIT) {
|
if (action == DOBUF_SPLIT) {
|
||||||
RESET_BINDING(curwin); /* reset 'scrollbind' and 'cursorbind' */
|
RESET_BINDING(curwin); /* reset 'scrollbind' and 'cursorbind' */
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user