summaryrefslogtreecommitdiff
path: root/runtime/ftplugin/rst.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-08-06 17:06:04 +0000
committerBram Moolenaar <Bram@vim.org>2008-08-06 17:06:04 +0000
commite37d50a5def1c0ff162392cd3f017059c458650c (patch)
treee7d1e2b17976b130d1283d33b091baf30cfc5d2c /runtime/ftplugin/rst.vim
parentda40c8536c2b7bdbd1d192ee1aa3045e2119675e (diff)
downloadvim-git-e37d50a5def1c0ff162392cd3f017059c458650c.tar.gz
updated for version 7.2c-000v7.2c.000
Diffstat (limited to 'runtime/ftplugin/rst.vim')
-rw-r--r--runtime/ftplugin/rst.vim8
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/ftplugin/rst.vim b/runtime/ftplugin/rst.vim
index 8fc25e9e2..b871cf148 100644
--- a/runtime/ftplugin/rst.vim
+++ b/runtime/ftplugin/rst.vim
@@ -1,14 +1,20 @@
" Vim filetype plugin file
" Language: reStructuredText documentation format
" Maintainer: Nikolai Weibull <now@bitwi.se>
-" Latest Revision: 2006-04-19
+" Latest Revision: 2008-07-09
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
+let s:cpo_save = &cpo
+set cpo&vim
+
let b:undo_ftplugin = "setl com< cms< et< fo<"
setlocal comments=fb:.. commentstring=..\ %s expandtab
setlocal formatoptions+=tcroql
+
+let &cpo = s:cpo_save
+unlet s:cpo_save