mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
vim-patch:9.0.0005: hare files are not recognized (#19151)
Problem: Hare files are not recognized.
Solution: Add a filetype pattern. (Hugo Osvaldo Barrera, closes vim/vim#10630)
040674129f
This commit is contained in:
parent
8ea09fc908
commit
ba583f8206
@ -785,6 +785,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
|
||||||
|
@ -435,6 +435,7 @@ local extension = {
|
|||||||
haml = 'haml',
|
haml = 'haml',
|
||||||
hsm = 'hamster',
|
hsm = 'hamster',
|
||||||
hbs = 'handlebars',
|
hbs = 'handlebars',
|
||||||
|
ha = 'hare',
|
||||||
['hs-boot'] = 'haskell',
|
['hs-boot'] = 'haskell',
|
||||||
hsig = 'haskell',
|
hsig = 'haskell',
|
||||||
hsc = 'haskell',
|
hsc = 'haskell',
|
||||||
|
@ -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'],
|
||||||
|
Loading…
Reference in New Issue
Block a user