diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-08-15 10:54:17 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-08-15 10:57:16 -0400 |
commit | afc6753f64a238a36cc66ec47a97aacca5e06b9d (patch) | |
tree | da54c92c1e4e611b55f4819a14ae2c277ed56f38 /src | |
parent | 4a0dbe866f70e2adfea78392cdb516e3364ebe4b (diff) | |
download | rneovim-afc6753f64a238a36cc66ec47a97aacca5e06b9d.tar.gz rneovim-afc6753f64a238a36cc66ec47a97aacca5e06b9d.tar.bz2 rneovim-afc6753f64a238a36cc66ec47a97aacca5e06b9d.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_filetype.vim | 5 |
1 files changed, 3 insertions, 2 deletions
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']], |