commit | 6508880d6ca98486efb9ab947c651a2b73a6e795 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Mar 13 21:07:21 2021 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Mar 13 21:07:21 2021 +0100 |
tree | bdaccc95096bea765b93a8cf66c9c5b2d215d16f | |
parent | cb4e80fab9b1ee67249bde4f784526f900cda70c [diff] [blame] |
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.
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 40e70c3..c7b57ba 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c
@@ -6609,6 +6609,10 @@ 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 == '/')