From 5472a5c3b869f26cfb8b63f2739f8b18d747c977 Mon Sep 17 00:00:00 2001 From: Jamie Dumont Date: Mon, 25 Nov 2019 23:07:32 +0000 Subject: [PATCH] Add Razor file detection --- ftdetect/cs.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/ftdetect/cs.vim b/ftdetect/cs.vim index 6210bdc..415c96d 100644 --- a/ftdetect/cs.vim +++ b/ftdetect/cs.vim @@ -9,6 +9,7 @@ au BufNewFile,BufRead *.proj compiler msbuild | set filetype=xml au BufNewFile,BufRead *.csproj compiler msbuild | set filetype=xml au BufNewFile,BufRead *.sln compiler msbuild | set filetype=xml au BufNewFile,BufRead *.cshtml compiler msbuild | set filetype=cshtml.html syntax=cshtml +au BufNewFile,BufRead *.razor compiler msbuild | set filetype=cshtml.html syntax=cshtml au BufNewFile,BufRead *.aspx compiler msbuild | set filetype=aspx.html syntax=aspx au BufNewFile,BufRead *.ascx compiler msbuild | set filetype=aspx.html syntax=aspx au BufNewFile,BufRead *.master compiler msbuild | set filetype=aspx.html syntax=aspx