Merge branch 'vim' into fix/fast-join
[vim_extended.git] / runtime / ftplugin / rst.vim
blobb871cf14864c28e9c7641a7120049b4c17c4ac4a
1 " Vim filetype plugin file
2 " Language:         reStructuredText documentation format
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=fb:.. commentstring=..\ %s expandtab
17 setlocal formatoptions+=tcroql
19 let &cpo = s:cpo_save
20 unlet s:cpo_save