summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-02 23:47:18 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-02 23:47:18 +0100
commit196d157f12cf0476d97f78834155fc67d6b161de (patch)
tree3deba5b00cb3d25d69ae887a3491dde66096ac19 /src/globals.h
parent33c8ca923ed6d5638fa98afabb2e25b5056dd47b (diff)
downloadvim-git-196d157f12cf0476d97f78834155fc67d6b161de.tar.gz
patch 8.1.0682: text properties not adjusted when backspacing replaced textv8.1.0682
Problem: Text properties are not adjusted when backspacing replaced text. Solution: Keep text properties on text restored in replace mode.
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index d60968b82..2a7ecd17b 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1658,6 +1658,10 @@ EXTERN int *eval_lavars_used INIT(= NULL);
EXTERN int ctrl_break_was_pressed INIT(= FALSE);
#endif
+#ifdef FEAT_TEXT_PROP
+EXTERN int text_prop_frozen INIT(= 0);
+#endif
+
/*
* Optional Farsi support. Include it here, so EXTERN and INIT are defined.
*/