diff runtime/filetype.vim @ 24166:13618b8fb0dc v8.2.2624

patch 8.2.2624: atom files not recognized Commit: https://github.com/vim/vim/commit/74b99f6ab6e0265ebee4ed496845f28e0904318d Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 19 20:19:12 2021 +0100 patch 8.2.2624: atom files not recognized Problem: Atom files not recognized. Solution: Recognize .atom as XML. (Kivin Locke, closes https://github.com/vim/vim/issues/7986)
author Bram Moolenaar <Bram@vim.org>
date Fri, 19 Mar 2021 20:30:03 +0100
parents 788e10cec9bd
children 4cd112203e16
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -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