diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-12-04 10:32:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 10:32:20 +0800 |
commit | a0dd663c2d321ce107aa07005aa01b9c341c5df2 (patch) | |
tree | 32295d58a80f90a2d3b1d66d9034c7bd2fc4a093 /src/nvim/buffer.c | |
parent | fba0562723a1af143c9e9509920d03d8231b8bf7 (diff) | |
parent | 9476dd2f923d9e5d86237836131f67024613308f (diff) | |
download | rneovim-a0dd663c2d321ce107aa07005aa01b9c341c5df2.tar.gz rneovim-a0dd663c2d321ce107aa07005aa01b9c341c5df2.tar.bz2 rneovim-a0dd663c2d321ce107aa07005aa01b9c341c5df2.zip |
Merge pull request #21279 from zeertzjq/vim-8.2.2182
vim-patch:8.2.{2182,2295,3265,3292}: search fixes
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index c9fe5f9670..b67aee6907 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -2250,7 +2250,7 @@ int buflist_findpat(const char *pattern, const char *pattern_end, bool unlisted, } regmatch_T regmatch; - regmatch.regprog = vim_regcomp(p, p_magic ? RE_MAGIC : 0); + regmatch.regprog = vim_regcomp(p, magic_isset() ? RE_MAGIC : 0); if (regmatch.regprog == NULL) { xfree(pat); return -1; |