goyo.vim icon indicating copy to clipboard operation
goyo.vim copied to clipboard

certain bold & italics broken after leaving Goyo

Open daveriedstra opened this issue 3 years ago • 2 comments

issue

When using a plugin for markdown syntax (such as vim-markdown or vim-pandoc-syntax), leaving Goyo removes formatting for *italic* and **bold** elements (and underscore variants), though the asterisks / underscores remain concealed properly. Other bold and italic formatting (such as # headings) works, which makes me think this is somehow related to concealing.

reproduce

  1. open or create a markdown file with some _italic_, __bold__, *italic*, or **bold** formatting image

  2. enter Goyo mode

  3. observe formatting is correct image

  4. leave Goyo mode

  5. observe formatting lost image

  6. enter Goyo mode

  7. observe formatting still lost image

other details

  • NVIM 0.4.4
  • also affects VIM 8.2
  • vim-markdown 1.0.0 or vim-pandoc-syntax latest
  • goyo latest

daveriedstra avatar Apr 27 '21 21:04 daveriedstra

I also have this problem in NVIM 0.5.0.

felipejoribeiro avatar May 03 '21 15:05 felipejoribeiro

Confirming that the issue with conceal being 'reset' is also happening in Vim 9

realshovanshah avatar Oct 25 '23 07:10 realshovanshah