mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -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
|
||||
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
|
||||
|
@@ -361,7 +361,7 @@ let s:filename_checks = {
|
||||
\ 'monk': ['file.isc', 'file.monk', 'file.ssc', 'file.tsc'],
|
||||
\ 'moo': ['file.moo'],
|
||||
\ 'moonscript': ['file.moon'],
|
||||
\ 'mp': ['file.mp'],
|
||||
\ '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'],
|
||||
|
@@ -735,6 +735,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
195,
|
||||
/**/
|
||||
194,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user