summaryrefslogtreecommitdiff
path: root/src/proto/highlight.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-22 23:03:57 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-22 23:03:57 +0200
commit29b7d7a9aac591f920edb89241c8cde27378e50b (patch)
tree96368a556edd943bec67f303778bc0c864573860 /src/proto/highlight.pro
parente5e6950193ddf365c6c507ddefcd7f9db939e5ac (diff)
downloadvim-git-29b7d7a9aac591f920edb89241c8cde27378e50b.tar.gz
patch 8.1.1734: the evalfunc.c file is too bigv8.1.1734
Problem: The evalfunc.c file is too big. Solution: Move some functions to other files.
Diffstat (limited to 'src/proto/highlight.pro')
-rw-r--r--src/proto/highlight.pro9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/proto/highlight.pro b/src/proto/highlight.pro
index ca4498140..9dcfdf4dd 100644
--- a/src/proto/highlight.pro
+++ b/src/proto/highlight.pro
@@ -43,4 +43,13 @@ void set_context_in_highlight_cmd(expand_T *xp, char_u *arg);
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 : */