1 " Vim filetype plugin file
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
4 " Latest Revision: 2006-07-04
6 if exists("b:did_ftplugin")
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()
20 g/^beginfig(\d*);$/s//\='beginfig('.i.');'/ | let i = i + 1