diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-04-24 22:21:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-24 22:21:54 +0800 |
commit | 2caf5bbbc58fcc9830cd3f8a6110b66040c6e660 (patch) | |
tree | a26196c54dbb8825be3d6652db5e8ad94eca217c /src/nvim/regexp_defs.h | |
parent | 843d9223a14c599fda1b2abf1e7072be738fb831 (diff) | |
parent | 2511f3e76d895a725c1a833233e831c856d05422 (diff) | |
download | rneovim-2caf5bbbc58fcc9830cd3f8a6110b66040c6e660.tar.gz rneovim-2caf5bbbc58fcc9830cd3f8a6110b66040c6e660.tar.bz2 rneovim-2caf5bbbc58fcc9830cd3f8a6110b66040c6e660.zip |
Merge pull request #18243 from zeertzjq/vim-8.2.4808
vim-patch:8.2.{4808,4810,4813}: pasting text while indent folding may mess up folds
Diffstat (limited to 'src/nvim/regexp_defs.h')
-rw-r--r-- | src/nvim/regexp_defs.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/nvim/regexp_defs.h b/src/nvim/regexp_defs.h index 913cfb2074..decc832051 100644 --- a/src/nvim/regexp_defs.h +++ b/src/nvim/regexp_defs.h @@ -157,12 +157,15 @@ struct reg_extmatch { }; struct regengine { + /// bt_regcomp or nfa_regcomp regprog_T *(*regcomp)(char_u *, int); + /// bt_regfree or nfa_regfree void (*regfree)(regprog_T *); + /// bt_regexec_nl or nfa_regexec_nl int (*regexec_nl)(regmatch_T *, char_u *, colnr_T, bool); - long (*regexec_multi)(regmmatch_T *, win_T *, buf_T *, linenr_T, colnr_T, - proftime_T *, int *); - char_u *expr; + /// bt_regexec_mult or nfa_regexec_mult + long (*regexec_multi)(regmmatch_T *, win_T *, buf_T *, linenr_T, colnr_T, proftime_T *, int *); + // char_u *expr; }; #endif // NVIM_REGEXP_DEFS_H |