summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-14 16:09:57 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-14 16:09:57 +0100
commit702bd6c7c61073c0907fd7608911aebee4acd337 (patch)
tree83bc9559cd5c5803b671f70c129d274aaffdfd76 /src/globals.h
parentfebe13892ede37d2a8462b9921e05a55e059db0c (diff)
patch 9.0.0464: with virtual text "above" indenting doesn't work wellv9.0.0464
Problem: With virtual text "above" indenting doesn't work well. Solution: Ignore text properties while adjusting indent. (issue #11084)
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 3d75e20d01..521832428a 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -755,6 +755,9 @@ EXTERN int popup_visible INIT(= FALSE);
EXTERN int popup_uses_mouse_move INIT(= FALSE);
EXTERN int text_prop_frozen INIT(= 0);
+
+// when TRUE computing the cursor position ignores text properties.
+EXTERN int ignore_text_props INIT(= FALSE);
#endif
// When set the popup menu will redraw soon using the pum_win_ values. Do not