Add howto comment to appcast file
[MacVim.git] / runtime / ftplugin / mp.vim
blob3709782167a151f69ffbcdad29a7ad2633180cb0
1 " Vim filetype plugin file
2 " Language:         MetaPost
3 " Maintainer:       Nikolai Weibull <now@bitwi.se>
4 " Latest Revision:  2006-07-04
6 if exists("b:did_ftplugin")
7   finish
8 endif
9 let b:did_ftplugin = 1
11 let b:undo_ftplugin = "setl com< cms< fo<"
13 setlocal comments=:% commentstring=%\ %s formatoptions-=t formatoptions+=croql
15 if exists(":FixBeginfigs") != 2
16   command -nargs=0 FixBeginfigs call s:fix_beginfigs()
18   function! s:fix_beginfigs()
19     let i = 1
20     g/^beginfig(\d*);$/s//\='beginfig('.i.');'/ | let i = i + 1
21   endfunction
22 endif