preservim / vim-markdown

Markdown Vim Mode
4.68k stars 521 forks source link

Can not highlight syntax if there is non-space character before it #587

Closed pilgrimlyieu closed 2 years ago

pilgrimlyieu commented 2 years ago

Examples

<!-- This will highlight -->
abc **a** bbb
abc **a**bbb

我 **你** 他
我 **你**他

<!-- This will not highlight -->
abc**a**bbb
abc**a** bbb

我**你** 他
我**你**他

Snipaste_2022-06-11_15-22-27

It could be fully understood that it'll not highlight syntax if there is a non-ASCII letter before it. However, space in Chinese (Maybe also East-Asian languages like Janpanese) sentence is unacceptable.

I used Markdown All in One as my VSCode markdown syntax parser before I turned to Vim and use this plugin instead. It can parse well so I think there may be any way to achieve it.

So is there any plan to add support for syntax highlight after a non-ASCII letter?

Related issues(but outdated and unsolved):

Appreciating and praising your excellent work!

pilgrimlyieu commented 2 years ago

Closed because no longer use this plugin.