preservim / vim-markdown

Markdown Vim Mode
4.68k stars 521 forks source link

About sysntax highlighting #581

Closed blueair5 closed 2 years ago

blueair5 commented 2 years ago

sorry ! When I create a file on a Linux server with a .md suffix, and edit this file ,there is no markdown syntax highlighting. 😢 . But when I open a README.md , there is highlighting. I don't know why ? My English is not good, sorry!

alerque commented 2 years ago

When you edit one of your other files that is not getting highlighting, what is the active filetype? (Find out with :set filetype).

blueair5 commented 2 years ago

When you edit one of your other files that is not getting highlighting, what is the active filetype? (Find out with :set filetype). The result is filetype=modula2

blueair5 commented 2 years ago

When you edit one of your other files that is not getting highlighting, what is the active filetype? (Find out with :set filetype).

Thanks for your reminder, I found a tutorial to solve this problem,thank you so much!

blueair5 commented 2 years ago

This is a Chinese tutorial,https://qa.1r1g.com/sf/ask/1629550471/?lastactivity