-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See. :help ftdetect
- Loading branch information
Showing
2 changed files
with
16 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
" Vim plugin ftdetects | ||
" Language: Microsoft C# | ||
" Maintainer: Kian Ryan (kian@orangetentacle.co.uk) | ||
" Last Change: 2015 Apr 27 | ||
|
||
" Set msproj file extensions | ||
au BufNewFile,BufRead *.cs compiler msbuild | ||
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 *.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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters