mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2052: Vim9: "edit +4 fname" gives an error
Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino) Solution: Allow using a range in the +cmd argument. (closes #7364)
This commit is contained in:
@@ -1043,6 +1043,7 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring);
|
||||
#define DOCMD_KEYTYPED 0x08 // don't reset KeyTyped
|
||||
#define DOCMD_EXCRESET 0x10 // reset exception environment (for debugging)
|
||||
#define DOCMD_KEEPLINE 0x20 // keep typed line for repeating with "."
|
||||
#define DOCMD_RANGEOK 0240 // can use a range without ":" in Vim9 script
|
||||
|
||||
// flags for beginline()
|
||||
#define BL_WHITE 1 // cursor on first non-white in the line
|
||||
|
Reference in New Issue
Block a user