From afc6753f64a238a36cc66ec47a97aacca5e06b9d Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 15 Aug 2020 10:54:17 -0400 Subject: vim-patch:8.2.1458: .gawk files not recognized Problem: .gawk files not recognized. Solution: Recognize .gawk files. (Doug Kearns) https://github.com/vim/vim/commit/9a5c553f790f74e4c36295ce5d46c1aa7d13eae6 --- src/nvim/testdir/test_filetype.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/nvim/testdir/test_filetype.vim b/src/nvim/testdir/test_filetype.vim index 0acb5da8ba..8cf7400f7a 100644 --- a/src/nvim/testdir/test_filetype.vim +++ b/src/nvim/testdir/test_filetype.vim @@ -73,7 +73,7 @@ let s:filename_checks = { \ 'autoit': ['file.au3'], \ 'automake': ['GNUmakefile.am'], \ 'ave': ['file.ave'], - \ 'awk': ['file.awk'], + \ 'awk': ['file.awk', 'file.gawk'], \ 'b': ['file.mch', 'file.ref', 'file.imp'], \ 'bc': ['file.bc'], \ 'bdf': ['file.bdf'], @@ -596,7 +596,8 @@ let s:script_checks = { \ 'bc': [['#!/path/bc']], \ 'sed': [['#!/path/sed']], \ 'ocaml': [['#!/path/ocaml']], - \ 'awk': [['#!/path/awk']], + \ 'awk': [['#!/path/awk'], + \ ['#!/path/gawk']], \ 'wml': [['#!/path/wml']], \ 'scheme': [['#!/path/scheme']], \ 'cfengine': [['#!/path/cfengine']], -- cgit