blob: 1f55f2d27d46b34cc8105457b58efb0c59c51dfb [file] [log] [blame]
Bram Moolenaar3e460fd2019-01-26 16:21:07 +01001/* autocmd.c */
2void aubuflocal_remove(buf_T *buf);
3int au_has_group(char_u *name);
4void do_augroup(char_u *arg, int del_group);
5void free_all_autocmds(void);
6int check_ei(void);
7char_u *au_event_disable(char *what);
8void au_event_restore(char_u *old_ei);
Bram Moolenaar73b8b0a2021-08-01 14:52:32 +02009void do_autocmd(exarg_T *eap, char_u *arg_in, int forceit);
LemonBoyeca7c602022-04-14 15:39:43 +010010int do_doautocmd(char_u *arg_start, int do_msg, int *did_something);
Bram Moolenaar3e460fd2019-01-26 16:21:07 +010011void ex_doautoall(exarg_T *eap);
12int check_nomodeline(char_u **argp);
13void aucmd_prepbuf(aco_save_T *aco, buf_T *buf);
14void aucmd_restbuf(aco_save_T *aco);
15int apply_autocmds(event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf);
16int apply_autocmds_exarg(event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf, exarg_T *eap);
17int apply_autocmds_retval(event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf, int *retval);
Bram Moolenaar3e460fd2019-01-26 16:21:07 +010018int trigger_cursorhold(void);
Bram Moolenaar35fc61c2022-11-22 12:40:50 +000019int has_winresized(void);
LemonBoyeca7c602022-04-14 15:39:43 +010020int has_winscrolled(void);
Bram Moolenaar3e460fd2019-01-26 16:21:07 +010021int has_cursormoved(void);
22int has_cursormovedI(void);
23int has_textchanged(void);
24int has_textchangedI(void);
25int has_textchangedP(void);
26int has_insertcharpre(void);
27int has_cmdundefined(void);
Bram Moolenaar3e460fd2019-01-26 16:21:07 +010028int has_textyankpost(void);
Bram Moolenaard7f246c2019-04-08 18:15:41 +020029int has_completechanged(void);
=?UTF-8?q?Magnus=20Gro=C3=9F?=f1e88762021-09-12 13:39:55 +020030int has_modechanged(void);
Bram Moolenaar3e460fd2019-01-26 16:21:07 +010031void block_autocmds(void);
32void unblock_autocmds(void);
33int is_autocmd_blocked(void);
LemonBoyeca7c602022-04-14 15:39:43 +010034sctx_T *acp_script_ctx(AutoPatCmd_T *acp);
Bram Moolenaar66250c92020-08-20 15:02:42 +020035char_u *getnextac(int c, void *cookie, int indent, getline_opt_T options);
Bram Moolenaar3e460fd2019-01-26 16:21:07 +010036int has_autocmd(event_T event, char_u *sfname, buf_T *buf);
37char_u *get_augroup_name(expand_T *xp, int idx);
38char_u *set_context_in_autocmd(expand_T *xp, char_u *arg, int doautocmd);
39char_u *get_event_name(expand_T *xp, int idx);
40int autocmd_supported(char_u *name);
41int au_exists(char_u *arg);
Yegappan Lakshmanan1755a912022-05-19 10:31:47 +010042void f_autocmd_add(typval_T *argvars, typval_T *rettv);
43void f_autocmd_delete(typval_T *argvars, typval_T *rettv);
44void f_autocmd_get(typval_T *argvars, typval_T *rettv);
Bram Moolenaar3e460fd2019-01-26 16:21:07 +010045/* vim: set ft=c : */