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/charset.c | |
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/charset.c')
-rw-r--r-- | src/charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c index a19e55b628..c5edaf41e0 100644 --- a/src/charset.c +++ b/src/charset.c @@ -954,7 +954,7 @@ init_chartabsize_arg( cts->cts_line = line; cts->cts_ptr = ptr; #ifdef FEAT_PROP_POPUP - if (lnum > 0) + if (lnum > 0 && !ignore_text_props) { char_u *prop_start; int count; |