mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.2805: Vim9: cannot use legacy syntax in Vim9 script
Problem: Vim9: cannot use legacy syntax in Vim9 script. Solution: Add the :legacy command.
This commit is contained in:
@@ -645,6 +645,7 @@ typedef struct
|
||||
#define CMOD_KEEPPATTERNS 0x1000 // ":keeppatterns"
|
||||
#define CMOD_NOSWAPFILE 0x2000 // ":noswapfile"
|
||||
#define CMOD_VIM9CMD 0x4000 // ":vim9cmd"
|
||||
#define CMOD_LEGACY 0x8000 // ":legacy"
|
||||
|
||||
int cmod_split; // flags for win_split()
|
||||
int cmod_tab; // > 0 when ":tab" was used
|
||||
|
Reference in New Issue
Block a user