add support for mp (metapost) filetype

This commit is contained in:
Martin Grenfell 2008-12-07 12:36:59 +13:00
parent 10c120478c
commit 95c368779b
2 changed files with 4 additions and 1 deletions

View File

@ -802,6 +802,7 @@ if your face looked like a toaster and a t-rex put together? :(
- add support for dhcpd, limits, ntp, resolv, rgb, sysctl, udevconf and
udevrules. Thanks to Thilo Six.
- match filetypes case insensitively
- add support for mp (metapost), thanks to Andrey Skvortsov.
2.2.1
- add support for newlisp and clojure, thanks to Matthew Lee Hinman.
@ -1062,7 +1063,7 @@ Stefan Walk sieve
Adam Thorsen objj
Thilo Six dhcpd, limits, ntp, resolv, rgb, sysctl,
udevconf, udevrules
Andrey Skvortsov mp
==============================================================================
9. License *NERDComLicense*

View File

@ -539,6 +539,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('(*','*)')
elseif a:filetype ==? "monk"
call s:MapDelimiters(';', '')
elseif a:filetype ==? "mp"
call s:MapDelimiters('%', '')
elseif a:filetype ==? "mplayerconf"
call s:MapDelimiters('#', '')
elseif a:filetype ==? "mrxvtrc"