forked from aniani/vim
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)
This commit is contained in:
committed by
Bram Moolenaar
parent
d14bb1aef9
commit
040674129f
@@ -789,6 +789,9 @@ au BufNewFile,BufRead *.hsm setf hamster
|
|||||||
" Handlebars
|
" Handlebars
|
||||||
au BufNewFile,BufRead *.hbs setf handlebars
|
au BufNewFile,BufRead *.hbs setf handlebars
|
||||||
|
|
||||||
|
" Hare
|
||||||
|
au BufNewFile,BufRead *.ha setf hare
|
||||||
|
|
||||||
" Haskell
|
" Haskell
|
||||||
au BufNewFile,BufRead *.hs,*.hsc,*.hs-boot,*.hsig setf haskell
|
au BufNewFile,BufRead *.hs,*.hsc,*.hs-boot,*.hsig setf haskell
|
||||||
au BufNewFile,BufRead *.lhs setf lhaskell
|
au BufNewFile,BufRead *.lhs setf lhaskell
|
||||||
|
|||||||
@@ -234,6 +234,7 @@ let s:filename_checks = {
|
|||||||
\ 'haml': ['file.haml'],
|
\ 'haml': ['file.haml'],
|
||||||
\ 'hamster': ['file.hsm'],
|
\ 'hamster': ['file.hsm'],
|
||||||
\ 'handlebars': ['file.hbs'],
|
\ 'handlebars': ['file.hbs'],
|
||||||
|
\ 'hare': ['file.ha'],
|
||||||
\ 'haskell': ['file.hs', 'file.hsc', 'file.hs-boot', 'file.hsig'],
|
\ 'haskell': ['file.hs', 'file.hsc', 'file.hs-boot', 'file.hsig'],
|
||||||
\ 'haste': ['file.ht'],
|
\ 'haste': ['file.ht'],
|
||||||
\ 'hastepreproc': ['file.htpp'],
|
\ 'hastepreproc': ['file.htpp'],
|
||||||
|
|||||||
@@ -735,6 +735,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
5,
|
||||||
/**/
|
/**/
|
||||||
4,
|
4,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user