If the file is named
*.markdown then the highlighting works correctly. If it is named
*.md then it doesn't work.
Even if I type
:set syntax=markdown, the highlighting doesn't turn on.
With other filetypes e.g.
awk, I can turn on the highlighting by running
:set syntax=awk. But this doesn't work for markdown.
Ultimately I want to make Vim recognize .md files as markdown, but when the autocommand didn't work I tried just setting the syntax directly and found that didn't work either.
What could be causing this?
I am using MobaXterm.