Patch 9.0.0195
Problem: Metafun files are not recogized.
Solution: Add filetype detection patterns.
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-9.0.0194/runtime/filetype.vim 2022-08-10 11:48:07.089830558
+0100
--- runtime/filetype.vim 2022-08-12 19:25:32.037261535 +0100
***************
*** 1160,1165 ****
--- 1160,1166 ----
" MetaPost
au BufNewFile,BufRead *.mp setf mp
+ au BufNewFile,BufRead *.mpxl,*.mpiv,*.mpvi let b:mp_metafun = 1 | setf mp
" MGL
au BufNewFile,BufRead *.mgl setf mgl
*** ../vim-9.0.0194/src/testdir/test_filetype.vim 2022-08-10
11:48:07.089830558 +0100
--- src/testdir/test_filetype.vim 2022-08-12 19:27:17.684833166 +0100
***************
*** 361,367 ****
\ 'monk': ['file.isc', 'file.monk', 'file.ssc', 'file.tsc'],
\ 'moo': ['file.moo'],
\ 'moonscript': ['file.moon'],
! \ 'mp': ['file.mp'],
\ 'mplayerconf': ['mplayer.conf', '/.mplayer/config',
'any/.mplayer/config'],
\ 'mrxvtrc': ['mrxvtrc', '.mrxvtrc'],
\ 'msidl': ['file.odl', 'file.mof'],
--- 361,367 ----
\ 'monk': ['file.isc', 'file.monk', 'file.ssc', 'file.tsc'],
\ 'moo': ['file.moo'],
\ 'moonscript': ['file.moon'],
! \ 'mp': ['file.mp', 'file.mpxl', 'file.mpiv', 'file.mpvi'],
\ 'mplayerconf': ['mplayer.conf', '/.mplayer/config',
'any/.mplayer/config'],
\ 'mrxvtrc': ['mrxvtrc', '.mrxvtrc'],
\ 'msidl': ['file.odl', 'file.mof'],
*** ../vim-9.0.0194/src/version.c 2022-08-12 13:05:27.567326156 +0100
--- src/version.c 2022-08-12 21:56:25.810443613 +0100
***************
*** 737,738 ****
--- 737,740 ----
{ /* Add new patch number below this line */
+ /**/
+ 195,
/**/
--
FATHER: Make sure the Prince doesn't leave this room until I come and
get him.
FIRST GUARD: Not ... to leave the room ... even if you come and get him.
FATHER: No. Until I come and get him.
SECOND GUARD: Hic.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// 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/20220812205851.B8A631C0859%40moolenaar.net.