forked from aniani/vim
updated for version 7.4.082
Problem: Using "gf" in a changed buffer suggests adding "!", which is not possible. (Tim Chase) Solution: Pass a flag to check_changed() wether adding ! make sense.
This commit is contained in:
@@ -1175,6 +1175,15 @@ extern char *(*dyn_libintl_textdomain)(const char *domainname);
|
||||
#define RESIZE_HOR 2 /* resize horizontally */
|
||||
#define RESIZE_BOTH 15 /* resize in both directions */
|
||||
|
||||
/*
|
||||
* flags for check_changed()
|
||||
*/
|
||||
#define CCGD_AW 1 /* do autowrite if buffer was changed */
|
||||
#define CCGD_MULTWIN 2 /* check also when several wins for the buf */
|
||||
#define CCGD_FORCEIT 4 /* ! used */
|
||||
#define CCGD_ALLBUF 8 /* may write all buffers */
|
||||
#define CCGD_EXCMD 16 /* may suggest using ! */
|
||||
|
||||
/*
|
||||
* "flags" values for option-setting functions.
|
||||
* When OPT_GLOBAL and OPT_LOCAL are both missing, set both local and global
|
||||
|
Reference in New Issue
Block a user