Patch 9.0.0005

10 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 29, 2022, 8:49:33 AM6/29/22
to vim...@googlegroups.com

Patch 9.0.0005
Problem: Hare files are not recognized.
Solution: Add a filetype pattern. (Hugo Osvaldo Barrera, closes #10630)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.0004/runtime/filetype.vim 2022-06-03 18:37:17.000000000 +0100
--- runtime/filetype.vim 2022-06-29 13:47:45.612958856 +0100
***************
*** 789,794 ****
--- 789,797 ----
" 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
*** ../vim-9.0.0004/src/testdir/test_filetype.vim 2022-06-20 11:34:38.000000000 +0100
--- src/testdir/test_filetype.vim 2022-06-29 13:47:45.612958856 +0100
***************
*** 234,239 ****
--- 234,240 ----
\ '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'],
*** ../vim-9.0.0004/src/version.c 2022-06-29 13:18:23.890571774 +0100
--- src/version.c 2022-06-29 13:47:24.232979941 +0100
***************
*** 737,738 ****
--- 737,740 ----
{ /* Add new patch number below this line */
+ /**/
+ 5,
/**/

--
How To Keep A Healthy Level Of Insanity:
10. Ask people what sex they are. Laugh hysterically after they answer.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages