1
0
forked from aniani/vim

patch 8.2.3733: Vim9: using "legacy" before range does not work

Problem:    Vim9: using "legacy" before range does not work.
Solution:   Skip over range before parsing command. (closes #9270)
This commit is contained in:
Bram Moolenaar
2021-12-04 11:57:00 +00:00
parent cd2f8f0e00
commit b579f6ebbf
4 changed files with 12 additions and 7 deletions

View File

@@ -1394,6 +1394,7 @@ produce_cmdmods(char_u *buf, cmdmod_T *cmod, int quote)
#ifdef HAVE_SANDBOX
{CMOD_SANDBOX, "sandbox"},
#endif
{CMOD_LEGACY, "legacy"},
{0, NULL}
};