vim-patch:8.2.1458: .gawk files not recognized

Problem:    .gawk files not recognized.
Solution:   Recognize .gawk files. (Doug Kearns)
9a5c553f79
This commit is contained in:
Jan Edmund Lazo
2020-08-15 10:54:17 -04:00
parent 4a0dbe866f
commit afc6753f64
2 changed files with 4 additions and 3 deletions

View File

@@ -180,7 +180,7 @@ au BufNewFile,BufRead *.at setf m4
au BufNewFile,BufRead *.ave setf ave au BufNewFile,BufRead *.ave setf ave
" Awk " Awk
au BufNewFile,BufRead *.awk setf awk au BufNewFile,BufRead *.awk,*.gawk setf awk
" B " B
au BufNewFile,BufRead *.mch,*.ref,*.imp setf b au BufNewFile,BufRead *.mch,*.ref,*.imp setf b

View File

@@ -73,7 +73,7 @@ let s:filename_checks = {
\ 'autoit': ['file.au3'], \ 'autoit': ['file.au3'],
\ 'automake': ['GNUmakefile.am'], \ 'automake': ['GNUmakefile.am'],
\ 'ave': ['file.ave'], \ 'ave': ['file.ave'],
\ 'awk': ['file.awk'], \ 'awk': ['file.awk', 'file.gawk'],
\ 'b': ['file.mch', 'file.ref', 'file.imp'], \ 'b': ['file.mch', 'file.ref', 'file.imp'],
\ 'bc': ['file.bc'], \ 'bc': ['file.bc'],
\ 'bdf': ['file.bdf'], \ 'bdf': ['file.bdf'],
@@ -596,7 +596,8 @@ let s:script_checks = {
\ 'bc': [['#!/path/bc']], \ 'bc': [['#!/path/bc']],
\ 'sed': [['#!/path/sed']], \ 'sed': [['#!/path/sed']],
\ 'ocaml': [['#!/path/ocaml']], \ 'ocaml': [['#!/path/ocaml']],
\ 'awk': [['#!/path/awk']], \ 'awk': [['#!/path/awk'],
\ ['#!/path/gawk']],
\ 'wml': [['#!/path/wml']], \ 'wml': [['#!/path/wml']],
\ 'scheme': [['#!/path/scheme']], \ 'scheme': [['#!/path/scheme']],
\ 'cfengine': [['#!/path/cfengine']], \ 'cfengine': [['#!/path/cfengine']],