Synced with the latest branch.
[MacVim.git] / runtime / ftplugin / m4.vim
blob0ffe0ac77e14226f1d377bbfd981bb00ec1faca5
1 " Vim filetype plugin file
2 " Language:         m4
3 " Maintainer:       Nikolai Weibull <now@bitwi.se>
4 " Latest Revision:  2008-07-09
6 if exists("b:did_ftplugin")
7   finish
8 endif
9 let b:did_ftplugin = 1
11 let s:cpo_save = &cpo
12 set cpo&vim
14 let b:undo_ftplugin = "setl com< cms< fo<"
16 setlocal comments=:#,:dnl commentstring=dnl\ %s
17 setlocal formatoptions-=t formatoptions+=croql
19 let &cpo = s:cpo_save
20 unlet s:cpo_save