diff options
author | Christian Clason <c.clason@uni-graz.at> | 2021-11-27 16:20:29 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2021-11-27 16:23:19 +0100 |
commit | b156ffedb623aa773a1a2a33af69e47e0536a574 (patch) | |
tree | c261f5339a9ebfbc16fc784bc73b4e8693ca4836 /runtime | |
parent | afbf89dc0120b1db5782a0bf807dc7c8db70ccf6 (diff) | |
download | rneovim-b156ffedb623aa773a1a2a33af69e47e0536a574.tar.gz rneovim-b156ffedb623aa773a1a2a33af69e47e0536a574.tar.bz2 rneovim-b156ffedb623aa773a1a2a33af69e47e0536a574.zip |
vim-patch:8.2.3685: Visual studio project files are not recognized
Problem: Visual studio project files are not recognized.
Solution: Use the xml file type. (Doug Kearns)
https://github.com/vim/vim/commit/c07f11e42fc2eac5e750bf05aa3030f9b02a22ca
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 1b48070128..cbb9e9687e 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2055,9 +2055,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 |