markdown.nvim icon indicating copy to clipboard operation
markdown.nvim copied to clipboard

Maintain custom highlights inside tables

Open mpasa opened this issue 1 year ago • 0 comments
trafficstars

It seems that custom highlights are lost when matched inside a table cell.

Example document:

# test

foo

| Column1 |
| ------- |
| foo     |

Add the syntax and highlights:

syn match Custom "foo"
highlight Custom guifg=red

Output when editing is showing the styles as expected:

image

But normal mode rendering is removing the highlight inside the table:

image

mpasa avatar May 18 '24 19:05 mpasa