mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 9.0.0195: metafun files are not recogized
Problem: Metafun files are not recogized. Solution: Add filetype detection patterns.
This commit is contained in:
@@ -1160,6 +1160,7 @@ au BufNewFile,BufRead *.mf setf mf
|
|||||||
|
|
||||||
" MetaPost
|
" MetaPost
|
||||||
au BufNewFile,BufRead *.mp setf mp
|
au BufNewFile,BufRead *.mp setf mp
|
||||||
|
au BufNewFile,BufRead *.mpxl,*.mpiv,*.mpvi let b:mp_metafun = 1 | setf mp
|
||||||
|
|
||||||
" MGL
|
" MGL
|
||||||
au BufNewFile,BufRead *.mgl setf mgl
|
au BufNewFile,BufRead *.mgl setf mgl
|
||||||
|
@@ -361,7 +361,7 @@ let s:filename_checks = {
|
|||||||
\ 'monk': ['file.isc', 'file.monk', 'file.ssc', 'file.tsc'],
|
\ 'monk': ['file.isc', 'file.monk', 'file.ssc', 'file.tsc'],
|
||||||
\ 'moo': ['file.moo'],
|
\ 'moo': ['file.moo'],
|
||||||
\ 'moonscript': ['file.moon'],
|
\ 'moonscript': ['file.moon'],
|
||||||
\ 'mp': ['file.mp'],
|
\ 'mp': ['file.mp', 'file.mpxl', 'file.mpiv', 'file.mpvi'],
|
||||||
\ 'mplayerconf': ['mplayer.conf', '/.mplayer/config', 'any/.mplayer/config'],
|
\ 'mplayerconf': ['mplayer.conf', '/.mplayer/config', 'any/.mplayer/config'],
|
||||||
\ 'mrxvtrc': ['mrxvtrc', '.mrxvtrc'],
|
\ 'mrxvtrc': ['mrxvtrc', '.mrxvtrc'],
|
||||||
\ 'msidl': ['file.odl', 'file.mof'],
|
\ 'msidl': ['file.odl', 'file.mof'],
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
195,
|
||||||
/**/
|
/**/
|
||||||
194,
|
194,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user