Patch 8.2.1292

8 views
Skip to first unread message

Bram Moolenaar

unread,
Jul 25, 2020, 10:54:06 AM7/25/20
to vim...@googlegroups.com

Patch 8.2.1292
Problem: AIDL filetype not recognized.
Solution: Add filetype detection. (Dominique Pellé, closes #6533)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.1291/runtime/filetype.vim 2020-06-26 20:23:40.203927534 +0200
--- runtime/filetype.vim 2020-07-25 16:51:17.327063001 +0200
***************
*** 88,93 ****
--- 88,96 ----
" AHDL
au BufNewFile,BufRead *.tdf setf ahdl

+ " AIDL
+ au BufNewFile,BufRead *.aidl setf aidl
+
" AMPL
au BufNewFile,BufRead *.run setf ampl

*** ../vim-8.2.1291/src/testdir/test_filetype.vim 2020-06-26 20:23:40.203927534 +0200
--- src/testdir/test_filetype.vim 2020-07-25 16:51:17.327063001 +0200
***************
*** 54,59 ****
--- 54,60 ----
\ 'acedb': ['file.wrm'],
\ 'ada': ['file.adb', 'file.ads', 'file.ada', 'file.gpr'],
\ 'ahdl': ['file.tdf'],
+ \ 'aidl': ['file.aidl'],
\ 'alsaconf': ['.asoundrc', '/usr/share/alsa/alsa.conf', '/etc/asound.conf'],
\ 'aml': ['file.aml'],
\ 'ampl': ['file.run'],
*** ../vim-8.2.1291/src/version.c 2020-07-25 16:32:58.679704392 +0200
--- src/version.c 2020-07-25 16:52:20.318816258 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1292,
/**/

--
If your nose runs, and your feet smell, you might be upside down.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Dominique Pellé

unread,
Jul 25, 2020, 11:08:25 AM7/25/20
to vim_dev
Bram Moolenaar wrote:

> Patch 8.2.1292
> Problem: AIDL filetype not recognized.
> Solution: Add filetype detection. (Dominique Pellé, closes #6533)
> Files: runtime/filetype.vim, src/testdir/test_filetype.vim

Hi

The patch is missing file runtime/syntax/aidl.vim
which was in the PR https://github.com/vim/vim/pull/6533/files

Regards
Dominique

Bram Moolenaar

unread,
Jul 25, 2020, 1:55:38 PM7/25/20
to vim...@googlegroups.com, Dominique Pellé
That will be in the next runtime files update.
The changes to filetype.vim are in a patch to keep it in sync with the
tests.

--
hundred-and-one symptoms of being an internet addict:
87. Everyone you know asks why your phone line is always busy ...and
you tell them to send an e-mail.
Reply all
Reply to author
Forward
0 new messages