Synced with the latest branch.
[MacVim.git] / runtime / ftplugin / ld.vim
blob31ce5c9ffd7e6fcc20d0f2ae9a1fb44abf720e46
1 " Vim filetype plugin file
2 " Language:         ld(1) script
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< inc< fo<"
16 setlocal comments=s1:/*,mb:*,ex:*/ commentstring=/*%s*/ include=^\\s*INCLUDE
17 setlocal formatoptions-=t formatoptions+=croql
19 let &cpo = s:cpo_save
20 unlet s:cpo_save