Merge branch 'vim' into fix/fast-join
[vim_extended.git] / runtime / ftplugin / yaml.vim
blobb88803ab3a9d381569df9f91c342689fef8663f3
1 " Vim filetype plugin file
2 " Language:         YAML (YAML Ain't Markup Language)
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< et< fo<"
16 setlocal comments=:# commentstring=#\ %s expandtab
17 setlocal formatoptions-=t formatoptions+=croql
19 let &cpo = s:cpo_save
20 unlet s:cpo_save