forked from aniani/vim
updated for version 7.3.924
Problem: Python interface can't easily access options. Solution: Add vim.options, vim.window.options and vim.buffer.options. (ZyX)
This commit is contained in:
13
src/vim.h
13
src/vim.h
@@ -2230,4 +2230,17 @@ typedef int VimClipboard; /* This is required for the prototypes. */
|
||||
#define FILEINFO_READ_FAIL 2 /* CreateFile() failed */
|
||||
#define FILEINFO_INFO_FAIL 3 /* GetFileInformationByHandle() failed */
|
||||
|
||||
/* Return value from get_option_value_strict */
|
||||
#define SOPT_BOOL 0x01 /* Boolean option */
|
||||
#define SOPT_NUM 0x02 /* Number option */
|
||||
#define SOPT_STRING 0x04 /* String option */
|
||||
#define SOPT_GLOBAL 0x08 /* Option has global value */
|
||||
#define SOPT_WIN 0x10 /* Option has window-local value */
|
||||
#define SOPT_BUF 0x20 /* Option has buffer-local value */
|
||||
#define SOPT_UNSET 0x40 /* Option does not have local value set */
|
||||
|
||||
#define SREQ_GLOBAL 0 /* Request global option */
|
||||
#define SREQ_WIN 1 /* Request window-local option */
|
||||
#define SREQ_BUF 2 /* Request buffer-local option */
|
||||
|
||||
#endif /* VIM__H */
|
||||
|
||||
Reference in New Issue
Block a user