Mercurial > vim
comparison src/userfunc.c @ 17809:59f8948b7590 v8.1.1901
patch 8.1.1901: the +insert_expand feature is not always available
Commit: https://github.com/vim/vim/commit/e2c453d38f6512ac4cff7cd26aa7780b4e2534d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 21 14:37:09 2019 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Aug 2019 14:45:04 +0200 |
parents | 04245f071792 |
children | 6249953b0609 |
comparison
equal
deleted
inserted
replaced
17808:42561b61bfd8 | 17809:59f8948b7590 |
---|---|
1612 * Call the user function. | 1612 * Call the user function. |
1613 * Save and restore search patterns, script variables and | 1613 * Save and restore search patterns, script variables and |
1614 * redo buffer. | 1614 * redo buffer. |
1615 */ | 1615 */ |
1616 save_search_patterns(); | 1616 save_search_patterns(); |
1617 #ifdef FEAT_INS_EXPAND | |
1618 if (!ins_compl_active()) | 1617 if (!ins_compl_active()) |
1619 #endif | |
1620 { | 1618 { |
1621 saveRedobuff(&save_redo); | 1619 saveRedobuff(&save_redo); |
1622 did_save_redo = TRUE; | 1620 did_save_redo = TRUE; |
1623 } | 1621 } |
1624 ++fp->uf_calls; | 1622 ++fp->uf_calls; |