mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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:
@@ -310,9 +310,7 @@ open_buffer(
|
||||
/* Set last_changedtick to avoid triggering a TextChanged autocommand right
|
||||
* after it was added. */
|
||||
curbuf->b_last_changedtick = CHANGEDTICK(curbuf);
|
||||
#ifdef FEAT_INS_EXPAND
|
||||
curbuf->b_last_changedtick_pum = CHANGEDTICK(curbuf);
|
||||
#endif
|
||||
|
||||
/* require "!" to overwrite the file, because it wasn't read completely */
|
||||
#ifdef FEAT_EVAL
|
||||
@@ -2228,9 +2226,7 @@ free_buf_options(
|
||||
#if defined(FEAT_CINDENT) || defined(FEAT_SMARTINDENT)
|
||||
clear_string_option(&buf->b_p_cinw);
|
||||
#endif
|
||||
#ifdef FEAT_INS_EXPAND
|
||||
clear_string_option(&buf->b_p_cpt);
|
||||
#endif
|
||||
#ifdef FEAT_COMPL_FUNC
|
||||
clear_string_option(&buf->b_p_cfu);
|
||||
clear_string_option(&buf->b_p_ofu);
|
||||
@@ -2247,10 +2243,8 @@ free_buf_options(
|
||||
#ifdef FEAT_EVAL
|
||||
clear_string_option(&buf->b_p_tfu);
|
||||
#endif
|
||||
#ifdef FEAT_INS_EXPAND
|
||||
clear_string_option(&buf->b_p_dict);
|
||||
clear_string_option(&buf->b_p_tsr);
|
||||
#endif
|
||||
#ifdef FEAT_TEXTOBJ
|
||||
clear_string_option(&buf->b_p_qe);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user