Patch 9.0.0197

5 views
Skip to first unread message

Bram Moolenaar

unread,
Aug 13, 2022, 8:22:22 AM8/13/22
to vim...@googlegroups.com

Patch 9.0.0197
Problem: Astro files are not detected.
Solution: Add a pattern to match Astro files. (Emilia Zapata, closes #10904)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.0196/runtime/filetype.vim 2022-08-12 21:57:09.574588305 +0100
--- runtime/filetype.vim 2022-08-13 13:19:02.894757731 +0100
***************
*** 172,177 ****
--- 172,180 ----
" Assembly - Macro (VAX)
au BufNewFile,BufRead *.mar setf vmasm

+ " Astro
+ au BufNewFile,BufRead *.astro setf astro
+
" Atlas
au BufNewFile,BufRead *.atl,*.as setf atlas

*** ../vim-9.0.0196/src/testdir/test_filetype.vim 2022-08-12 21:57:09.574588305 +0100
--- src/testdir/test_filetype.vim 2022-08-13 13:19:02.898757742 +0100
***************
*** 71,76 ****
--- 71,77 ----
\ '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'],
*** ../vim-9.0.0196/src/version.c 2022-08-13 13:08:30.286914784 +0100
--- src/version.c 2022-08-13 13:20:32.162972221 +0100
***************
*** 737,738 ****
--- 737,740 ----
{ /* Add new patch number below this line */
+ /**/
+ 197,
/**/

--
You had connectors? Eeee, when I were a lad we 'ad to carry the
bits between the computer and the terminal with a spoon...

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages