All useful for debugging syntax highlighting and what is applying it:

:setlocal syntax?
:syntax list
:scriptnames
:verbose set ft?