diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-21 14:37:09 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-21 14:37:09 +0200 |
commit | e2c453d38f6512ac4cff7cd26aa7780b4e2534d7 (patch) | |
tree | 8458a35d59ac43121bfd2d24d5e9f7f54969d0dc /src/buffer.c | |
parent | d933c82ff4e2c910bd533ed9a50377699c3f5ec9 (diff) | |
download | vim-git-e2c453d38f6512ac4cff7cd26aa7780b4e2534d7.tar.gz |
patch 8.1.1901: the +insert_expand feature is not always availablev8.1.1901
Problem: The +insert_expand feature is not always available.
Solution: Graduate the +insert_expand feature.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/buffer.c b/src/buffer.c index f9686a7bd..a9aa30c3e 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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 |