Until a week ago I was happily coding html.erb files in Notepad++ with syntax highlighting. Then my hard drive crashed.
I reinstalled Notepad++ on my new system but when
Another possible situation that could cause this is if you install new themes. If the theme doesn't have certain languages defined and you use one of those, then you will lose the syntax highlighting as well.
To Check: Settings -> Style Configurator
Check that the language is there on the left hand side for the current theme you are running.