lukas-reineke / headlines.nvim

This plugin adds horizontal highlights for text filetypes, like markdown, orgmode, and neorg.
MIT License
688 stars 28 forks source link

markdown: bullet lists don't play nice with block quotes and code blocks #52

Closed tomtomjhj closed 10 months ago

tomtomjhj commented 1 year ago

With the default config require("headlines").setup() and everything (nvim, nvim-treesitter, markdown parser, markdown_inline parser, ..) up-to-date, I get the following behaviors from markdown.

block quote + list

code

* list item
  > quote line 1
  > quote line 2. The bar is misplaced and ">" is not hidden.

Result image

code block + list

code

* item 1
  ```
  code block
  ```
* this item's bullet is hidden

Result image

francium commented 1 year ago

48 and this (#52) also affect me.

@lukas-reineke I'm happy to sponsor you if it will help you allocate time or motivation to work on these two issues

tomtomjhj commented 1 year ago

@francium try #54

francium commented 1 year ago

@tomtomjhj Thanks, it's working really well as far as I cant tell

ronisbr commented 10 months ago

Hi!

I am also having this issue. Is there any work around at the moment?

lukas-reineke commented 10 months ago

Forgot to merge the PR :facepalm: should be fixed now, thanks for the reminder