Skip to content

Commit 2afc3b4

Browse files
committed
patch 8.2.1292: AIDL filetype not recognized
Problem: AIDL filetype not recognized. Solution: Add filetype detection. (Dominique Pellé, closes #6533)
1 parent 24aa48b commit 2afc3b4

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

runtime/filetype.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ endif
8888
" AHDL
8989
au BufNewFile,BufRead *.tdf setf ahdl
9090

91+
" AIDL
92+
au BufNewFile,BufRead *.aidl setf aidl
93+
9194
" AMPL
9295
au BufNewFile,BufRead *.run setf ampl
9396

src/testdir/test_filetype.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ let s:filename_checks = {
5454
\ 'acedb': ['file.wrm'],
5555
\ 'ada': ['file.adb', 'file.ads', 'file.ada', 'file.gpr'],
5656
\ 'ahdl': ['file.tdf'],
57+
\ 'aidl': ['file.aidl'],
5758
\ 'alsaconf': ['.asoundrc', '/usr/share/alsa/alsa.conf', '/etc/asound.conf'],
5859
\ 'aml': ['file.aml'],
5960
\ 'ampl': ['file.run'],

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,8 @@ static char *(features[]) =
754754

755755
static int included_patches[] =
756756
{ /* Add new patch number below this line */
757+
/**/
758+
1292,
757759
/**/
758760
1291,
759761
/**/

0 commit comments

Comments
 (0)