mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
vim-patch:9.1.0977: filetype: msbuild filetypes are not recognized
Problem: filetype: msbuild filetypes are not recognized
Solution: detect msbuild files as xml filetype
(Gustav Eikaas)
closes: vim/vim#16339
32b7e3a8c9
Co-authored-by: GustavEikaas <gustav.eikaas@gmail.com>
This commit is contained in:

committed by
Christian Clason

parent
e4bc8b5967
commit
7b739248a1
@@ -1881,6 +1881,9 @@ local filename = {
|
||||
['/etc/blkid.tab'] = 'xml',
|
||||
['/etc/blkid.tab.old'] = 'xml',
|
||||
['fonts.conf'] = 'xml',
|
||||
['Directory.Packages.props'] = 'xml',
|
||||
['Directory.Build.props'] = 'xml',
|
||||
['Directory.Build.targets'] = 'xml',
|
||||
['.clangd'] = 'yaml',
|
||||
['.clang-format'] = 'yaml',
|
||||
['.clang-tidy'] = 'yaml',
|
||||
|
@@ -885,7 +885,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'xml': ['/etc/blkid.tab', '/etc/blkid.tab.old', 'file.xmi', 'file.csproj', 'file.csproj.user', 'file.fsproj', 'file.fsproj.user', 'file.vbproj', 'file.vbproj.user', 'file.ui',
|
||||
\ 'file.tpm', '/etc/xdg/menus/file.menu', 'fglrxrc', 'file.xlf', 'file.xliff', 'file.xul', 'file.wsdl', 'file.wpl', 'any/etc/blkid.tab', 'any/etc/blkid.tab.old',
|
||||
\ 'any/etc/xdg/menus/file.menu', 'file.atom', 'file.rss', 'file.cdxml', 'file.psc1', 'file.mpd', 'fonts.conf', 'file.xcu', 'file.xlb', 'file.xlc', 'file.xba', 'file.xpr',
|
||||
\ 'file.xpfm', 'file.spfm', 'file.bxml', 'file.mmi', 'file.slnx'],
|
||||
\ 'file.xpfm', 'file.spfm', 'file.bxml', 'file.mmi', 'file.slnx', 'Directory.Packages.props', 'Directory.Build.targets', 'Directory.Build.props'],
|
||||
\ 'xmodmap': ['anyXmodmap', 'Xmodmap', 'some-Xmodmap', 'some-xmodmap', 'some-xmodmap-file', 'xmodmap', 'xmodmap-file'],
|
||||
\ 'xpm': ['file.xpm'],
|
||||
\ 'xpm2': ['file.xpm2'],
|
||||
|
Reference in New Issue
Block a user