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: #17869
closes: #17885
Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
7132935413
commit
1bfe86a7d3
@ -7358,6 +7358,9 @@ buf_copy_options(buf_T *buf, int flags)
|
||||
}
|
||||
buf->b_p_cpt = vim_strsave(p_cpt);
|
||||
COPY_OPT_SCTX(buf, BV_CPT);
|
||||
#ifdef FEAT_COMPL_FUNC
|
||||
set_buflocal_cpt_callbacks(buf);
|
||||
#endif
|
||||
#ifdef BACKSLASH_IN_FILENAME
|
||||
buf->b_p_csl = vim_strsave(p_csl);
|
||||
COPY_OPT_SCTX(buf, BV_CSL);
|
||||
|
||||
Reference in New Issue
Block a user