forked from aniani/vim
patch 8.1.1901: the +insert_expand feature is not always available
Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature.
This commit is contained in:
@@ -1008,10 +1008,7 @@ ins_char_bytes(char_u *buf, int charlen)
|
||||
// show the match for right parens and braces.
|
||||
if (p_sm && (State & INSERT)
|
||||
&& msg_silent == 0
|
||||
#ifdef FEAT_INS_EXPAND
|
||||
&& !ins_compl_active()
|
||||
#endif
|
||||
)
|
||||
&& !ins_compl_active())
|
||||
{
|
||||
if (has_mbyte)
|
||||
showmatch(mb_ptr2char(buf));
|
||||
|
Reference in New Issue
Block a user