diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-11-27 14:31:47 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-27 14:31:47 +0000 |
commit | c07f11e42fc2eac5e750bf05aa3030f9b02a22ca (patch) | |
tree | 8424497e7c05693a9f81d02a4d8559a97f7842d7 /runtime | |
parent | e9b0b40b7978f683977922233b42dd439ef31920 (diff) |
patch 8.2.3685: Visual studio project files are not recognizedv8.2.3685
Problem: Visual studio project files are not recognized.
Solution: Use the xml file type. (Doug Kearns)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index c4c9cb9048..dcef709eda 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2059,9 +2059,15 @@ au BufNewFile,BufRead *.xml call dist#ft#FTxml() " XMI (holding UML models) is also XML au BufNewFile,BufRead *.xmi setf xml -" CSPROJ files are Visual Studio.NET's XML-based project config files +" CSPROJ files are Visual Studio.NET's XML-based C# project config files au BufNewFile,BufRead *.csproj,*.csproj.user setf xml +" FSPROJ files are Visual Studio.NET's XML-based F# project config files +au BufNewFile,BufRead *.fsproj,*.fsproj.user setf xml + +" VBPROJ files are Visual Studio.NET's XML-based Visual Basic project config files +au BufNewFile,BufRead *.vbproj,*.vbproj.user setf xml + " Qt Linguist translation source and Qt User Interface Files are XML " However, for .ts Typescript is more common. au BufNewFile,BufRead *.ui setf xml |