1 " Vim filetype plugin file
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
4 " Latest Revision: 2008-07-09
6 if exists("b:did_ftplugin")
14 let b:undo_ftplugin = "setl com< cms< fo<"
16 setlocal comments=:% commentstring=%\ %s formatoptions-=t formatoptions+=croql
18 if exists(":FixBeginfigs") != 2
19 command -nargs=0 FixBeginfigs call s:fix_beginfigs()
21 function! s:fix_beginfigs()
23 g/^beginfig(\d*);$/s//\='beginfig('.i.');'/ | let i = i + 1