mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.2598: Vim9: :open does not need to be supported
Problem: Vim9: :open does not need to be supported. Solution: Do not support :open in Vim9 script.
This commit is contained in:
@@ -6609,6 +6609,10 @@ ex_open(exarg_T *eap)
|
||||
regmatch_T regmatch;
|
||||
char_u *p;
|
||||
|
||||
#ifdef FEAT_EVAL
|
||||
if (not_in_vim9(eap) == FAIL)
|
||||
return;
|
||||
#endif
|
||||
curwin->w_cursor.lnum = eap->line2;
|
||||
beginline(BL_SOL | BL_FIX);
|
||||
if (*eap->arg == '/')
|
||||
|
Reference in New Issue
Block a user