comparison src/buffer.c @ 26388:8aba638e91eb v8.2.3725

patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc' Commit: https://github.com/vim/vim/commit/8658c759f05b317707d56e3b65a5ef63930c7498 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Fri Dec 3 11:09:29 2021 +0000 patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc' Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'. Solution: Implement lambda support. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/9257)
author Bram Moolenaar <Bram@vim.org>
date Fri, 03 Dec 2021 12:15:04 +0100
parents a2e6da79274d
children b18f3b0f317c
comparison
equal deleted inserted replaced
26387:b6eb7e295973 26388:8aba638e91eb
2324 clear_string_option(&buf->b_p_cinw); 2324 clear_string_option(&buf->b_p_cinw);
2325 #endif 2325 #endif
2326 clear_string_option(&buf->b_p_cpt); 2326 clear_string_option(&buf->b_p_cpt);
2327 #ifdef FEAT_COMPL_FUNC 2327 #ifdef FEAT_COMPL_FUNC
2328 clear_string_option(&buf->b_p_cfu); 2328 clear_string_option(&buf->b_p_cfu);
2329 free_callback(&buf->b_cfu_cb);
2329 clear_string_option(&buf->b_p_ofu); 2330 clear_string_option(&buf->b_p_ofu);
2331 free_callback(&buf->b_ofu_cb);
2330 clear_string_option(&buf->b_p_tsrfu); 2332 clear_string_option(&buf->b_p_tsrfu);
2333 free_callback(&buf->b_tsrfu_cb);
2331 #endif 2334 #endif
2332 #ifdef FEAT_QUICKFIX 2335 #ifdef FEAT_QUICKFIX
2333 clear_string_option(&buf->b_p_gp); 2336 clear_string_option(&buf->b_p_gp);
2334 clear_string_option(&buf->b_p_mp); 2337 clear_string_option(&buf->b_p_mp);
2335 clear_string_option(&buf->b_p_efm); 2338 clear_string_option(&buf->b_p_efm);