diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-24 20:27:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-24 20:27:03 +0200 |
commit | 59f931ef54d143eb92f9b9168eb74fb061c39294 (patch) | |
tree | bb0116b64dbebf8a2c4f442a0514e8d2ec6f2d26 /src/vim.h | |
parent | 72ada0f8c2655e365d9284bcc9243e29e5951f04 (diff) | |
download | vim-59f931ef54d143eb92f9b9168eb74fb061c39294.zip |
Add the 'undoreload' option to be able to undo a file reload.
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -953,6 +953,7 @@ extern char *(*dyn_libintl_textdomain)(const char *domainname); #define READ_STDIN 0x04 /* read from stdin */ #define READ_BUFFER 0x08 /* read from curbuf (converting stdin) */ #define READ_DUMMY 0x10 /* reading into a dummy buffer */ +#define READ_KEEP_UNDO 0x20 /* keep undo info*/ /* Values for change_indent() */ #define INDENT_SET 1 /* set indent */ @@ -2174,4 +2175,9 @@ typedef int VimClipboard; /* This is required for the prototypes. */ #define VIF_FORCEIT 4 /* overwrite info already read */ #define VIF_GET_OLDFILES 8 /* load v:oldfiles */ +/* flags for buf_freeall() */ +#define BFA_DEL 1 /* buffer is going to be deleted */ +#define BFA_WIPE 2 /* buffer is going to be wiped out */ +#define BFA_KEEP_UNDO 4 /* do not free undo information */ + #endif /* VIM__H */ |