diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-14 16:09:57 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-14 16:09:57 +0100 |
commit | 702bd6c7c61073c0907fd7608911aebee4acd337 (patch) | |
tree | 83bc9559cd5c5803b671f70c129d274aaffdfd76 /src/globals.h | |
parent | febe13892ede37d2a8462b9921e05a55e059db0c (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.h | 3 |
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 |