In Vim, without using any markdown plugin, headings like
# Uppercase heading
# lowercase heading
lowercase heading
=================
lowercase heading
-----------------
get highlighted, while headings like
Uppercase heading
=================
Uppercase heading
-----------------
do not get highlighted. (Actually the ---
s get highlighted, but not the text above them. However, the ===
s stay in the unhighlighted color.)
I want to know why the headings with the ===
/---
-syntax starting with an uppercase character do not get highlighted and what can be done to fix it.
Example screenshot:
:echo synIDattr(synID(line("."), col("."), 1), "name")
Example:markdownH2
.