comparison src/evalfunc.c @ 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 18604231a1d1
children 6cdf55afaae9
comparison
equal deleted inserted replaced
28916:40a5b3396eb4 28917:c5862dfaf0bd
1585 ret_number_bool, f_assert_true}, 1585 ret_number_bool, f_assert_true},
1586 {"atan", 1, 1, FEARG_1, arg1_float_or_nr, 1586 {"atan", 1, 1, FEARG_1, arg1_float_or_nr,
1587 ret_float, FLOAT_FUNC(f_atan)}, 1587 ret_float, FLOAT_FUNC(f_atan)},
1588 {"atan2", 2, 2, FEARG_1, arg2_float_or_nr, 1588 {"atan2", 2, 2, FEARG_1, arg2_float_or_nr,
1589 ret_float, FLOAT_FUNC(f_atan2)}, 1589 ret_float, FLOAT_FUNC(f_atan2)},
1590 {"autocmd_add", 1, 1, FEARG_1, arg1_list_any,
1591 ret_number_bool, f_autocmd_add},
1592 {"autocmd_delete", 1, 1, FEARG_1, arg1_list_any,
1593 ret_number_bool, f_autocmd_delete},
1594 {"autocmd_get", 0, 1, FEARG_1, arg1_dict_any,
1595 ret_list_dict_any, f_autocmd_get},
1590 {"balloon_gettext", 0, 0, 0, NULL, 1596 {"balloon_gettext", 0, 0, 0, NULL,
1591 ret_string, 1597 ret_string,
1592 #ifdef FEAT_BEVAL 1598 #ifdef FEAT_BEVAL
1593 f_balloon_gettext 1599 f_balloon_gettext
1594 #else 1600 #else