[vim/vim] conceal does not re-calculate width and wrap lines. (Issue #9443)

104 views
Skip to first unread message

mattn

unread,
Dec 31, 2021, 9:56:43 AM12/31/21
to vim/vim, Subscribed

Steps to reproduce

:source this code.

set columns=80 wrap conceallevel=3
syntax match XXX /X\+/ conceal cchar= 
finish


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXYYYY

Expected behaviour

YYYY in a line but
image

Version of Vim

8.2.3877

Environment

Windows 11. gvim.exe

Logs and stack traces

No response


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9443@github.com>

mattn

unread,
Dec 31, 2021, 10:16:55 AM12/31/21
to vim/vim, Subscribed

This issue makes breaking wrapped text in popup-window.

image


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9443/1003398949@github.com>

mattn

unread,
Dec 31, 2021, 10:46:19 AM12/31/21
to vim/vim, Subscribed

At least, strange background-color in popup seems to be a bug. Probably, screen_line in screen.c:774 seems to be wrong.


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9443/1003404720@github.com>

mtwebb

unread,
Jan 5, 2022, 11:06:04 AM1/5/22
to vim/vim, Subscribed

While outside my current ability to fix, I will happily do any grunt work of testing PRs and the like. The ability to factor conceal when determining wrapping would have a large impact on how I use vim with long form writing.


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9443/1005858074@github.com>

Kefei Lu

unread,
Jan 5, 2022, 12:54:15 PM1/5/22
to vim/vim, Subscribed

I'd like to add a visual example here if that helps:

image

image

This is how emacs markdown-mode looks like (with the equivalence of set wrap)

image

image


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9443/1005945737@github.com>

Wang Kang

unread,
Jan 9, 2022, 7:46:50 AM1/9/22
to vim/vim, Subscribed

+1


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9443/1008291132@github.com>

mattn

unread,
May 18, 2022, 12:10:33 PM5/18/22
to vim/vim, Subscribed

Perhaps I was able to solve this problem with a small impact.

screenshot

#10442


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9443/1130213950@github.com>

mattn

unread,
May 18, 2022, 12:31:16 PM5/18/22
to vim/vim, Subscribed

screenshot


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9443/1130230289@github.com>

mattn

unread,
May 18, 2022, 12:38:18 PM5/18/22
to vim/vim, Subscribed

Anyone, could you please test #10422 ?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9443/1130240790@github.com>

Reply all
Reply to author
Forward
0 new messages