diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index dfa63f3..b57b22d 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -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* diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index df1f45f..0457816 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -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"