diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-12-21 19:59:08 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-12-21 19:59:08 +0100 |
commit | f4e2099e39ed4d71aed0f9a9579455aed5ec6cc2 (patch) | |
tree | 40a384257e29f443c46bbaa19fb88a8eb5441b05 /src/arglist.c | |
parent | a3d10a508c404a32485adc86284725e0bdc5b602 (diff) | |
download | vim-git-f4e2099e39ed4d71aed0f9a9579455aed5ec6cc2.tar.gz |
patch 8.2.2182: Vim9: value of 'magic' is still relevantv8.2.2182
Problem: Vim9: value of 'magic' is still relevant.
Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
Diffstat (limited to 'src/arglist.c')
-rw-r--r-- | src/arglist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arglist.c b/src/arglist.c index dd255a64a..4e971fd4b 100644 --- a/src/arglist.c +++ b/src/arglist.c @@ -409,7 +409,7 @@ do_arglist( p = file_pat_to_reg_pat(p, NULL, NULL, FALSE); if (p == NULL) break; - regmatch.regprog = vim_regcomp(p, p_magic ? RE_MAGIC : 0); + regmatch.regprog = vim_regcomp(p, magic_isset() ? RE_MAGIC : 0); if (regmatch.regprog == NULL) { vim_free(p); |