Mercurial > vim
diff runtime/filetype.vim @ 26570:b1f4052d6c51 v8.2.3814
patch 8.2.3814: .csx files and .sln files are not recognized
Commit: https://github.com/vim/vim/commit/cfabad9bcf45650dee1f1f41ec4047f82a12f323
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 15 13:30:43 2021 +0000
patch 8.2.3814: .csx files and .sln files are not recognized
Problem: .csx files and .sln files are not recognized.
Solution: Add filetype patterns. (Doug Kearns)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 15 Dec 2021 14:45:03 +0100 |
parents | 297984d49331 |
children | 3a63b1e4a6f4 |
line wrap: on
line diff
--- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -260,7 +260,7 @@ au BufNewFile,BufRead *.lpc,*.ulpc setf au BufNewFile,BufRead calendar setf calendar " C# -au BufNewFile,BufRead *.cs setf cs +au BufNewFile,BufRead *.cs,*.csx setf cs " CSDL au BufNewFile,BufRead *.csdl setf csdl @@ -1743,6 +1743,9 @@ au BufNewFile,BufRead *.speedup,*.spdata " Slice au BufNewFile,BufRead *.ice setf slice +" Microsoft Visual Studio Solution +au BufNewFile,BufRead *.sln setf solution + " Spice au BufNewFile,BufRead *.sp,*.spice setf spice