Patch 8.2.1458

3 views
Skip to first unread message

Bram Moolenaar

unread,
Aug 15, 2020, 8:11:47 AM8/15/20
to vim...@googlegroups.com

Patch 8.2.1458
Problem: .gawk files not recognized.
Solution: Recognize .gawk files. (Doug Kearns)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.1457/runtime/filetype.vim 2020-08-09 19:31:46.793744881 +0200
--- runtime/filetype.vim 2020-08-15 14:03:33.327516266 +0200
***************
*** 184,190 ****
au BufNewFile,BufRead *.ave setf ave

" Awk
! au BufNewFile,BufRead *.awk setf awk

" B
au BufNewFile,BufRead *.mch,*.ref,*.imp setf b
--- 184,190 ----
au BufNewFile,BufRead *.ave setf ave

" Awk
! au BufNewFile,BufRead *.awk,*.gawk setf awk

" B
au BufNewFile,BufRead *.mch,*.ref,*.imp setf b
*** ../vim-8.2.1457/src/testdir/test_filetype.vim 2020-08-09 19:31:46.793744881 +0200
--- src/testdir/test_filetype.vim 2020-08-15 14:03:33.327516266 +0200
***************
*** 73,79 ****
\ 'autoit': ['file.au3'],
\ 'automake': ['GNUmakefile.am'],
\ 'ave': ['file.ave'],
! \ 'awk': ['file.awk'],
\ 'b': ['file.mch', 'file.ref', 'file.imp'],
\ 'bc': ['file.bc'],
\ 'bdf': ['file.bdf'],
--- 73,79 ----
\ 'autoit': ['file.au3'],
\ 'automake': ['GNUmakefile.am'],
\ 'ave': ['file.ave'],
! \ 'awk': ['file.awk', 'file.gawk'],
\ 'b': ['file.mch', 'file.ref', 'file.imp'],
\ 'bc': ['file.bc'],
\ 'bdf': ['file.bdf'],
***************
*** 597,603 ****
\ 'bc': [['#!/path/bc']],
\ 'sed': [['#!/path/sed']],
\ 'ocaml': [['#!/path/ocaml']],
! \ 'awk': [['#!/path/awk']],
\ 'wml': [['#!/path/wml']],
\ 'scheme': [['#!/path/scheme']],
\ 'cfengine': [['#!/path/cfengine']],
--- 597,604 ----
\ 'bc': [['#!/path/bc']],
\ 'sed': [['#!/path/sed']],
\ 'ocaml': [['#!/path/ocaml']],
! \ 'awk': [['#!/path/awk'],
! \ ['#!/path/gawk']],
\ 'wml': [['#!/path/wml']],
\ 'scheme': [['#!/path/scheme']],
\ 'cfengine': [['#!/path/cfengine']],
*** ../vim-8.2.1457/src/version.c 2020-08-15 13:49:12.109034577 +0200
--- src/version.c 2020-08-15 14:05:31.070811110 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1458,
/**/

--
hundred-and-one symptoms of being an internet addict:
208. Your goals for the future are obtaining an T1 connection and
a 130 gig hard drive.

/// 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 ///
Reply all
Reply to author
Forward
0 new messages