Mercurial > vim
changeset 29714:1317743de840 v9.0.0197
patch 9.0.0197: astro files are not detected
Commit: https://github.com/vim/vim/commit/6a76e84f555da6d9ee57db80143e1e5eb85535ff
Author: Emilia Zapata <zapata.contact@gmail.com>
Date: Sat Aug 13 13:21:31 2022 +0100
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 https://github.com/vim/vim/issues/10904)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 13 Aug 2022 14:30:03 +0200 |
parents | 1f203818f2bd |
children | fc2ac1642029 |
files | runtime/filetype.vim src/testdir/test_filetype.vim src/version.c |
diffstat | 3 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -172,6 +172,9 @@ au BufNewFile,BufRead *.asm,*.[sS],*.[aA " Assembly - Macro (VAX) au BufNewFile,BufRead *.mar setf vmasm +" Astro +au BufNewFile,BufRead *.astro setf astro + " Atlas au BufNewFile,BufRead *.atl,*.as setf atlas
--- 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'],