markdown.nvim
markdown.nvim copied to clipboard
Maintain custom highlights inside tables
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:
But normal mode rendering is removing the highlight inside the table: