mirror of
https://github.com/neovim/neovim.git
synced 2025-11-16 15:21:20 +00:00
vim-patch:9.1.1603: completion: cannot use autoloaded funcs in 'complete' F{func}
Problem: completion: cannot use autoloaded funcs in 'complete' F{func}
(Maxim Kim)
Solution: Make it work (Girish Palya)
fixes: vim/vim#17869
closes: vim/vim#17885
1bfe86a7d3
Cherry-pick Test_omni_autoload() from patch 8.2.3223.
Co-authored-by: Girish Palya <girishji@gmail.com>
This commit is contained in:
@@ -68,6 +68,7 @@
|
||||
#include "nvim/help.h"
|
||||
#include "nvim/indent.h"
|
||||
#include "nvim/indent_c.h"
|
||||
#include "nvim/insexpand.h"
|
||||
#include "nvim/main.h"
|
||||
#include "nvim/map_defs.h"
|
||||
#include "nvim/mapping.h"
|
||||
@@ -2104,6 +2105,8 @@ void free_buf_options(buf_T *buf, bool free_p_ff)
|
||||
callback_free(&buf->b_ofu_cb);
|
||||
clear_string_option(&buf->b_p_tsrfu);
|
||||
callback_free(&buf->b_tsrfu_cb);
|
||||
clear_cpt_callbacks(&buf->b_p_cpt_cb, buf->b_p_cpt_count);
|
||||
buf->b_p_cpt_count = 0;
|
||||
clear_string_option(&buf->b_p_gefm);
|
||||
clear_string_option(&buf->b_p_gp);
|
||||
clear_string_option(&buf->b_p_mp);
|
||||
|
||||
Reference in New Issue
Block a user