Spacemacs editor – Razor syntax highlight (*.cshtml files)

Issue

Is there syntax highlighting for Razor views (*.cshtml files) available in Spacemacs?

I have csharp layer installed. Syntax highlighting works with *.cs files but no with *.cshtml files.

Solution

web-mode works pretty well for .cshtml, except for code blocks within the template.

Answered By – nymo

Answer Checked By – David Marino (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.