view runtime/ftplugin/rst.vim @ 6954:a958ac497a81 v7.4.795

patch 7.4.795 Problem: The 'fixeol' option is not copied to a new window. Solution: Copy the option value. (Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Wed, 22 Jul 2015 22:19:38 +0200
parents f4f8014d516e
children 1218c5353e2b
line wrap: on
line source

" Vim filetype plugin file
" Language:         reStructuredText documentation format
" Maintainer:       Nikolai Weibull <now@bitwi.se>
" 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