From 702bd6c7c61073c0907fd7608911aebee4acd337 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 14 Sep 2022 16:09:57 +0100 Subject: patch 9.0.0464: with virtual text "above" indenting doesn't work well Problem: With virtual text "above" indenting doesn't work well. Solution: Ignore text properties while adjusting indent. (issue #11084) --- src/charset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/charset.c') 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; -- cgit v1.2.3