habamax / vim-asciidoctor

Asciidoctor plugin for Vim
MIT License
182 stars 16 forks source link

Concealing keeps lines "wrapped" #95

Closed ModProg closed 3 years ago

ModProg commented 3 years ago

When you have multiline code, that in concealed into one line, this happens with vim-asciidoctor: image

Is it possible to "unwrap" the line (but maybe keep an empty line to net shift everything needlessly around) or is that just a limitation of vims concealing that would need to be expensively worked around?

habamax commented 3 years ago

Could you give me some more details? The url itself and textwidth maybe?

ModProg commented 3 years ago

Could you give me some more details? The url itself and textwidth maybe?

Does not make a big difference but for example, with textwidth 74:

https://www.absolutely.senselessly.long.url.to.show.the.propblem.com[Just some text that pushes it over the end]
habamax commented 3 years ago

Aha, got it. It wraps around window border.

Unfortunately I don't think I can do anything about it. This should be somehow supported by vim (wrap + conceal).

ModProg commented 3 years ago

Seams like that issue already exists neovim/neovim#14409