From: Emilia Zapata Date: Sat, 13 Aug 2022 12:21:31 +0000 (+0100) Subject: patch 9.0.0197: astro files are not detected X-Git-Tag: v9.0.0197 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a76e84f555da6d9ee57db80143e1e5eb85535ff;p=vim patch 9.0.0197: astro files are not detected Problem: Astro files are not detected. Solution: Add a pattern to match Astro files. (Emilia Zapata, closes #10904) --- diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 89a1a31a2..797c73a6a 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -172,6 +172,9 @@ au BufNewFile,BufRead *.asm,*.[sS],*.[aA],*.mac,*.lst call dist#ft#FTasm() " Assembly - Macro (VAX) au BufNewFile,BufRead *.mar setf vmasm +" Astro +au BufNewFile,BufRead *.astro setf astro + " Atlas au BufNewFile,BufRead *.atl,*.as setf atlas diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 8ea438251..4e69175d8 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -71,6 +71,7 @@ let s:filename_checks = { \ 'asciidoc': ['file.asciidoc', 'file.adoc'], \ 'asn': ['file.asn', 'file.asn1'], \ 'asterisk': ['asterisk/file.conf', 'asterisk/file.conf-file', 'some-asterisk/file.conf', 'some-asterisk/file.conf-file'], + \ 'astro': ['file.astro'], \ 'atlas': ['file.atl', 'file.as'], \ 'autohotkey': ['file.ahk'], \ 'autoit': ['file.au3'], diff --git a/src/version.c b/src/version.c index 65bbcf739..08dc889a9 100644 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 197, /**/ 196, /**/