Mercurial > vim
diff src/proto/highlight.pro @ 17472:dfd87ef822aa v8.1.1734
patch 8.1.1734: the evalfunc.c file is too big
commit https://github.com/vim/vim/commit/29b7d7a9aac591f920edb89241c8cde27378e50b
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 22 23:03:57 2019 +0200
patch 8.1.1734: the evalfunc.c file is too big
Problem: The evalfunc.c file is too big.
Solution: Move some functions to other files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 22 Jul 2019 23:15:05 +0200 |
parents | 5462bb963075 |
children | bba80d61ea73 |
line wrap: on
line diff
--- a/src/proto/highlight.pro +++ b/src/proto/highlight.pro @@ -43,4 +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_getmatches(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); /* vim: set ft=c : */