comparison src/proto/autocmd.pro @ 28917:c5862dfaf0bd v8.2.4981

patch 8.2.4981: it is not possible to manipulate autocommands Commit: https://github.com/vim/vim/commit/1755a91851f7022fdd3eecfbd2cc0b508a2f2a8f Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Thu May 19 10:31:47 2022 +0100 patch 8.2.4981: it is not possible to manipulate autocommands Problem: It is not possible to manipulate autocommands. Solution: Add functions to add, get and set autocommands. (Yegappan Lakshmanan, closes #10291)
author Bram Moolenaar <Bram@vim.org>
date Thu, 19 May 2022 11:45:05 +0200
parents 80ed5ad30d28
children a86ee6c0309e
comparison
equal deleted inserted replaced
28916:40a5b3396eb4 28917:c5862dfaf0bd
36 char_u *get_augroup_name(expand_T *xp, int idx); 36 char_u *get_augroup_name(expand_T *xp, int idx);
37 char_u *set_context_in_autocmd(expand_T *xp, char_u *arg, int doautocmd); 37 char_u *set_context_in_autocmd(expand_T *xp, char_u *arg, int doautocmd);
38 char_u *get_event_name(expand_T *xp, int idx); 38 char_u *get_event_name(expand_T *xp, int idx);
39 int autocmd_supported(char_u *name); 39 int autocmd_supported(char_u *name);
40 int au_exists(char_u *arg); 40 int au_exists(char_u *arg);
41 void f_autocmd_add(typval_T *argvars, typval_T *rettv);
42 void f_autocmd_delete(typval_T *argvars, typval_T *rettv);
43 void f_autocmd_get(typval_T *argvars, typval_T *rettv);
41 /* vim: set ft=c : */ 44 /* vim: set ft=c : */