Patch 8.2.4826
Problem: .cshtml files are not recognized.
Solution: Use html filetype for .cshtml files. (Julien Voisin, closes #10212)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.4825/runtime/filetype.vim 2022-04-19 19:38:34.381576220
+0100
--- runtime/filetype.vim 2022-04-25 17:37:47.196774642 +0100
***************
*** 821,826 ****
--- 821,827 ----
" HTML (.shtml and .stm for server side)
au BufNewFile,BufRead *.html,*.htm,*.shtml,*.stm call dist#ft#FThtml()
+ au BufNewFile,BufRead *.cshtml setf html
" HTML with Ruby - eRuby
au BufNewFile,BufRead *.erb,*.rhtml setf eruby
*** ../vim-8.2.4825/src/testdir/test_filetype.vim 2022-04-19
19:38:34.381576220 +0100
--- src/testdir/test_filetype.vim 2022-04-25 17:38:33.296747028 +0100
***************
*** 258,263 ****
--- 258,264 ----
\ 'rnoweb': ['file.rnw', 'file.snw'],
\ 'rrst': ['file.rrst', 'file.srst'],
\ 'template': ['file.tmpl'],
+ \ 'html': ['file.html', 'file.htm', 'file.cshtml'],
\ 'htmlm4': ['file.html.m4'],
\ 'httest': ['file.htt', 'file.htb'],
\ 'ibasic': ['file.iba', 'file.ibi'],
*** ../vim-8.2.4825/src/version.c 2022-04-25 14:37:42.410308492 +0100
--- src/version.c 2022-04-25 17:34:24.816891897 +0100
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4826,
/**/
--
hundred-and-one symptoms of being an internet addict:
51. You put a pillow case over your laptop so your lover doesn't see it while
you are pretending to catch your breath.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220425164636.0A2251C410D%40moolenaar.net.