mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -04:00 
			
		
		
		
	patch 8.2.2624: atom files not recognized
Problem: Atom files not recognized. Solution: Recognize .atom as XML. (Kivin Locke, closes #7986)
This commit is contained in:
		| @@ -168,6 +168,9 @@ au BufNewFile,BufRead *.mar			setf vmasm | ||||
| " Atlas | ||||
| au BufNewFile,BufRead *.atl,*.as		setf atlas | ||||
|  | ||||
| " Atom is based on XML | ||||
| au BufNewFile,BufRead *.atom			setf xml | ||||
|  | ||||
| " Autoit v3 | ||||
| au BufNewFile,BufRead *.au3			setf autoit | ||||
|  | ||||
|   | ||||
| @@ -538,7 +538,7 @@ let s:filename_checks = { | ||||
|     \ 'xhtml': ['file.xhtml', 'file.xht'], | ||||
|     \ 'xinetd': ['/etc/xinetd.conf', '/etc/xinetd.d/file', 'any/etc/xinetd.conf', 'any/etc/xinetd.d/file'], | ||||
|     \ 'xmath': ['file.msc', 'file.msf'], | ||||
|     \ 'xml': ['/etc/blkid.tab', '/etc/blkid.tab.old', 'file.xmi', 'file.csproj', 'file.csproj.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'], | ||||
|     \ 'xml': ['/etc/blkid.tab', '/etc/blkid.tab.old', 'file.xmi', 'file.csproj', 'file.csproj.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'], | ||||
|     \ 'xmodmap': ['anyXmodmap', 'Xmodmap', 'some-Xmodmap', 'some-xmodmap', 'some-xmodmap-file', 'xmodmap', 'xmodmap-file'], | ||||
|     \ 'xf86conf': ['xorg.conf', 'xorg.conf-4'], | ||||
|     \ 'xpm2': ['file.xpm2'], | ||||
|   | ||||
| @@ -750,6 +750,8 @@ static char *(features[]) = | ||||
|  | ||||
| static int included_patches[] = | ||||
| {   /* Add new patch number below this line */ | ||||
| /**/ | ||||
|     2624, | ||||
| /**/ | ||||
|     2623, | ||||
| /**/ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user