mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
vim-patch:8.1.0883: missing some changes for Ex commands
Problem: Missing some changes for Ex commands.
Solution: Add mising changes in header file.
54d6fe5e60
This commit is contained in:
@@ -36,35 +36,36 @@
|
||||
// 4. Add documentation in ../doc/xxx.txt. Add a tag for both the short and
|
||||
// long name of the command.
|
||||
|
||||
#define RANGE 0x001 /* allow a linespecs */
|
||||
#define BANG 0x002 /* allow a ! after the command name */
|
||||
#define EXTRA 0x004 /* allow extra args after command name */
|
||||
#define XFILE 0x008 /* expand wildcards in extra part */
|
||||
#define NOSPC 0x010 /* no spaces allowed in the extra part */
|
||||
#define DFLALL 0x020 /* default file range is 1,$ */
|
||||
#define WHOLEFOLD 0x040 /* extend range to include whole fold also
|
||||
when less than two numbers given */
|
||||
#define NEEDARG 0x080 /* argument required */
|
||||
#define TRLBAR 0x100 /* check for trailing vertical bar */
|
||||
#define REGSTR 0x200 /* allow "x for register designation */
|
||||
#define COUNT 0x400 /* allow count in argument, after command */
|
||||
#define NOTRLCOM 0x800 /* no trailing comment allowed */
|
||||
#define ZEROR 0x1000 /* zero line number allowed */
|
||||
#define USECTRLV 0x2000 /* do not remove CTRL-V from argument */
|
||||
#define NOTADR 0x4000 /* number before command is not an address */
|
||||
#define EDITCMD 0x8000 /* allow "+command" argument */
|
||||
#define BUFNAME 0x10000 /* accepts buffer name */
|
||||
#define BUFUNL 0x20000 /* accepts unlisted buffer too */
|
||||
#define ARGOPT 0x40000 /* allow "++opt=val" argument */
|
||||
#define SBOXOK 0x80000 /* allowed in the sandbox */
|
||||
#define CMDWIN 0x100000 /* allowed in cmdline window; when missing
|
||||
* disallows editing another buffer when
|
||||
* curbuf_lock is set */
|
||||
#define MODIFY 0x200000 /* forbidden in non-'modifiable' buffer */
|
||||
#define EXFLAGS 0x400000 /* allow flags after count in argument */
|
||||
#define FILES (XFILE | EXTRA) /* multiple extra files allowed */
|
||||
#define WORD1 (EXTRA | NOSPC) /* one extra word allowed */
|
||||
#define FILE1 (FILES | NOSPC) /* 1 file allowed, defaults to current file */
|
||||
#define RANGE 0x001 // allow a linespecs
|
||||
#define BANG 0x002 // allow a ! after the command name
|
||||
#define EXTRA 0x004 // allow extra args after command name
|
||||
#define XFILE 0x008 // expand wildcards in extra part
|
||||
#define NOSPC 0x010 // no spaces allowed in the extra part
|
||||
#define DFLALL 0x020 // default file range is 1,$
|
||||
#define WHOLEFOLD 0x040 // extend range to include whole fold also
|
||||
// when less than two numbers given
|
||||
#define NEEDARG 0x080 // argument required
|
||||
#define TRLBAR 0x100 // check for trailing vertical bar
|
||||
#define REGSTR 0x200 // allow "x for register designation
|
||||
#define COUNT 0x400 // allow count in argument, after command
|
||||
#define NOTRLCOM 0x800 // no trailing comment allowed
|
||||
#define ZEROR 0x1000 // zero line number allowed
|
||||
#define USECTRLV 0x2000 // do not remove CTRL-V from argument
|
||||
#define NOTADR 0x4000 // number before command is not an address
|
||||
#define EDITCMD 0x8000 // allow "+command" argument
|
||||
#define BUFNAME 0x10000 // accepts buffer name
|
||||
#define BUFUNL 0x20000 // accepts unlisted buffer too
|
||||
#define ARGOPT 0x40000 // allow "++opt=val" argument
|
||||
#define SBOXOK 0x80000 // allowed in the sandbox
|
||||
#define CMDWIN 0x100000 // allowed in cmdline window; when missing
|
||||
// disallows editing another buffer when
|
||||
// curbuf_lock is set
|
||||
#define MODIFY 0x200000 // forbidden in non-'modifiable' buffer
|
||||
#define EXFLAGS 0x400000 // allow flags after count in argument
|
||||
#define RESTRICT 0x800000L // forbidden in restricted mode
|
||||
#define FILES (XFILE | EXTRA) // multiple extra files allowed
|
||||
#define WORD1 (EXTRA | NOSPC) // one extra word allowed
|
||||
#define FILE1 (FILES | NOSPC) // 1 file allowed, defaults to current file
|
||||
|
||||
// values for cmd_addr_type
|
||||
#define ADDR_LINES 0
|
||||
|
Reference in New Issue
Block a user