Mercurial > vim
diff src/proto/highlight.pro @ 17488:bba80d61ea73 v8.1.1742
patch 8.1.1742: still some match functions in evalfunc.c
commit https://github.com/vim/vim/commit/7dfb016d25e3e3e1f4411026dda21d1536f21acc
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 24 16:00:39 2019 +0200
patch 8.1.1742: still some match functions in evalfunc.c
Problem: Still some match functions in evalfunc.c.
Solution: Move them to highlight.c.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 Jul 2019 16:15:05 +0200 |
parents | dfd87ef822aa |
children | 367ef00c6258 |
line wrap: on
line diff
--- a/src/proto/highlight.pro +++ b/src/proto/highlight.pro @@ -43,13 +43,13 @@ void set_context_in_highlight_cmd(expand char_u *get_highlight_name(expand_T *xp, int idx); char_u *get_highlight_name_ext(expand_T *xp, int idx, int skip_cleared); void free_highlight_fonts(void); -int match_add(win_T *wp, char_u *grp, char_u *pat, int prio, int id, list_T *pos_list, char_u *conceal_char); -int match_delete(win_T *wp, int id, int perr); void clear_matches(win_T *wp); -matchitem_T *get_match(win_T *wp, int id); +void f_clearmatches(typval_T *argvars, typval_T *rettv); void f_getmatches(typval_T *argvars, typval_T *rettv); +void f_setmatches(typval_T *argvars, typval_T *rettv); void f_matchadd(typval_T *argvars, typval_T *rettv); void f_matchaddpos(typval_T *argvars, typval_T *rettv); void f_matcharg(typval_T *argvars, typval_T *rettv); void f_matchdelete(typval_T *argvars, typval_T *rettv); +void ex_match(exarg_T *eap); /* vim: set ft=c : */