From 91deac45392fe93094b9c31403b1ae771dc71938 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Mon, 6 Feb 2023 19:32:07 +0000 Subject: [PATCH] patch 9.0.1288: FunC files are not recognized Problem: FunC files are not recognized. Solution: Recognize FunC files. (Amaan Qureshi, closes #11949) --- runtime/filetype.vim | 3 +++ src/testdir/test_filetype.vim | 1 + src/version.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/runtime/filetype.vim b/runtime/filetype.vim index c0c87ff17..f2a6c4241 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -706,6 +706,9 @@ au BufNewFile,BufRead *.fsl setf framescript " FStab au BufNewFile,BufRead fstab,mtab setf fstab +" Func +au BufNewFile,BufRead *.fc setf func + " Fusion au BufRead,BufNewFile *.fusion setf fusion diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index ed4a86337..f5c54f571 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -209,6 +209,7 @@ let s:filename_checks = { \ 'fsh': ['file.fsh'], \ 'fsharp': ['file.fs', 'file.fsi', 'file.fsx'], \ 'fstab': ['fstab', 'mtab'], + \ 'func': ['file.fc'], \ 'fusion': ['file.fusion'], \ 'fvwm': ['/.fvwm/file', 'any/.fvwm/file'], \ 'gdb': ['.gdbinit', 'gdbinit', 'file.gdb', '.config/gdbearlyinit', '.gdbearlyinit'], diff --git a/src/version.c b/src/version.c index 9d5cb0fba..46ad75c7b 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1288, /**/ 1287, /**/ -- 2.40.0