I am writing a lot of latex and would like to conceal comments. There are often several lines of text that I comment but would like to keep/not delete.
Concealing comments explained: A comment is longer than a given line is spread over multiple lines. I would like to always shorten the comment at the end of the line and only show ".." or a symbol. When the cursor moves over the comment, I would like it to unfold again with all the line breaks. Conceal as soon as the cursor leaves the line.
Unconcealed (.. representing line break):
% asdffdsaaasdffdsa
..lbfds
Concealed:
% asdffdsaaasffd..
An advanced feature would be the concealing of several consecutive commented lines to collapse and end on ..[#collapsed_lines].
Unconcealed (.. representing line break):
% asdffdsaaasdffdsa
..lbfds
% asdfsdsdsss
Concealed:
% asdffdsaaasd..[2]
I am using Vimtex. Is there such a plugin or feature within Vimtex I haven't discovered or understood, allowing me to do so?