mirror of
https://github.com/neovim/neovim.git
synced 2026-02-20 10:28:33 +00:00
vim-patch:8.2.1292: AIDL filetype not recognized
Problem: AIDL filetype not recognized.
Solution: Add filetype detection. (Dominique Pellé, closes vim/vim#6533)
2afc3b4f77
This commit is contained in:
@@ -84,6 +84,9 @@ au BufNewFile,BufRead *.gpr setf ada
|
||||
" AHDL
|
||||
au BufNewFile,BufRead *.tdf setf ahdl
|
||||
|
||||
" AIDL
|
||||
au BufNewFile,BufRead *.aidl setf aidl
|
||||
|
||||
" AMPL
|
||||
au BufNewFile,BufRead *.run setf ampl
|
||||
|
||||
|
||||
@@ -54,6 +54,7 @@ let s:filename_checks = {
|
||||
\ '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'],
|
||||
|
||||
Reference in New Issue
Block a user