From 040674129f3382822eeb7b590380efa5228124a8 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Wed, 29 Jun 2022 13:48:49 +0100 Subject: [PATCH] patch 9.0.0005: hare files are not recognized Problem: Hare files are not recognized. Solution: Add a filetype pattern. (Hugo Osvaldo Barrera, closes #10630) --- 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 c9ee28bfb..6280d32e5 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -789,6 +789,9 @@ au BufNewFile,BufRead *.hsm setf hamster " Handlebars au BufNewFile,BufRead *.hbs setf handlebars +" Hare +au BufNewFile,BufRead *.ha setf hare + " Haskell au BufNewFile,BufRead *.hs,*.hsc,*.hs-boot,*.hsig setf haskell au BufNewFile,BufRead *.lhs setf lhaskell diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 6c2343b1e..545e33f7b 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -234,6 +234,7 @@ let s:filename_checks = { \ 'haml': ['file.haml'], \ 'hamster': ['file.hsm'], \ 'handlebars': ['file.hbs'], + \ 'hare': ['file.ha'], \ 'haskell': ['file.hs', 'file.hsc', 'file.hs-boot', 'file.hsig'], \ 'haste': ['file.ht'], \ 'hastepreproc': ['file.htpp'], diff --git a/src/version.c b/src/version.c index dd99f8575..0e6758f74 100644 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 5, /**/ 4, /**/ -- 2.40.0