Mercurial > vim
comparison src/globals.h @ 13384:6740c499de13 v8.0.1566
patch 8.0.1566: too many #ifdefs
commit https://github.com/vim/vim/commit/8a3bb56230d220b8e1b4dcca517ed95f5341b8c7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 4 20:14:14 2018 +0100
patch 8.0.1566: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 04 Mar 2018 20:15:05 +0100 |
parents | 69517d67421f |
children | e124262d435e |
comparison
equal
deleted
inserted
replaced
13383:22bb9735bd16 | 13384:6740c499de13 |
---|---|
726 * comment end in 'comments'. It is only valid when did_ai is TRUE. | 726 * comment end in 'comments'. It is only valid when did_ai is TRUE. |
727 */ | 727 */ |
728 EXTERN int end_comment_pending INIT(= NUL); | 728 EXTERN int end_comment_pending INIT(= NUL); |
729 #endif | 729 #endif |
730 | 730 |
731 #ifdef FEAT_SCROLLBIND | |
732 /* | 731 /* |
733 * This flag is set after a ":syncbind" to let the check_scrollbind() function | 732 * This flag is set after a ":syncbind" to let the check_scrollbind() function |
734 * know that it should not attempt to perform scrollbinding due to the scroll | 733 * know that it should not attempt to perform scrollbinding due to the scroll |
735 * that was a result of the ":syncbind." (Otherwise, check_scrollbind() will | 734 * that was a result of the ":syncbind." (Otherwise, check_scrollbind() will |
736 * undo some of the work done by ":syncbind.") -ralston | 735 * undo some of the work done by ":syncbind.") -ralston |
737 */ | 736 */ |
738 EXTERN int did_syncbind INIT(= FALSE); | 737 EXTERN int did_syncbind INIT(= FALSE); |
739 #endif | |
740 | 738 |
741 #ifdef FEAT_SMARTINDENT | 739 #ifdef FEAT_SMARTINDENT |
742 /* | 740 /* |
743 * This flag is set when a smart indent has been performed. When the next typed | 741 * This flag is set when a smart indent has been performed. When the next typed |
744 * character is a '{' the inserted tab will be deleted again. | 742 * character is a '{' the inserted tab will be deleted again. |