MeanderingProgrammer / render-markdown.nvim

Plugin to improve viewing Markdown files in Neovim
MIT License
1.38k stars 33 forks source link

bug: Concealing keeps linebreaks which might no longer be necessary #82

Closed jeremija closed 1 month ago

jeremija commented 1 month ago

Neovim version (nvim -v)

v0.10.0

Operating system

Arch Linux

Terminal emulator / GUI

Alacritty

Describe the bug

When concealing hyperlinks, the text is split into multiple lines as if the links were still visible.

Expected behavior

I'd expect the contents to be displayed in a single line when there is room.

Healthcheck output (:checkhealth render-markdown)

==============================================================================
render-markdown: require("render-markdown.health").check()

markdown.nvim [neovim version] ~
- OK Version >= 0.10

markdown.nvim [configuration] ~
- OK valid

markdown.nvim [nvim-treesitter] ~
- OK installed
- OK markdown: parser installed
- OK markdown_inline: parser installed
- WARNING latex: parser not installed
  - ADVICE:
    - Disable LaTeX support to avoid this warning by setting { latex = { enabled = false } }
- OK highlights enabled

markdown.nvim [executables] ~
- WARNING latex2text: not installed
  - ADVICE:
    - Disable LaTeX support to avoid this warning by setting { latex = { enabled = false } }

Additional information

recording.webm

MeanderingProgrammer commented 1 month ago

Unfortunately this is a known issue that does not appear that it is going to be fixed anytime soon :(

https://github.com/neovim/neovim/issues/14409