mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.1458: .gawk files not recognized
Problem: .gawk files not recognized. Solution: Recognize .gawk files. (Doug Kearns)
This commit is contained in:
@@ -184,7 +184,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
|
||||||
|
@@ -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'],
|
||||||
@@ -597,7 +597,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']],
|
||||||
|
@@ -754,6 +754,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1458,
|
||||||
/**/
|
/**/
|
||||||
1457,
|
1457,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user