cshtml/razor is not html and is its own markup language
https://learn.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-10.0
Files containing Razor generally have a .cshtml file extension. Razor is also found in Razor component files (.razor). Razor syntax is similar to the templating engines of various JavaScript single-page application (SPA) frameworks, such as Angular, React, VueJs, and Svelte.
https://github.com/vim/vim/pull/19207
(2 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@tris203 pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
okay, so it seems to be the intended filetype even back then when .cshtml support was initially merged #10212 . But I am afraid merging this now will leave people without syntax highlighting while currently they get html highlighting and I don't want to break this so short before a plugin. So this has to wait until after the 9.2 release.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
There is a highlighter here
https://github.com/jlcrochet/vim-razor
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
yes, one needs an additional plugin then.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
yes, one needs an additional plugin then.
Appreciate that. Sorry I was too brief
I meant if we can get permission from the author to upstream the syntax would that alleviate your highlight concerns.
If not, or again that is too close to a release. Then obviously we wait.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()