view runtime/ftplugin/rst.vim @ 10158:dd0531938cb6 v7.4.2349

commit https://github.com/vim/vim/commit/2321ca2a78286bc026fa7f407281ddbeb04114bb Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 9 14:17:18 2016 +0200 patch 7.4.2349 Problem: Valgrind reports using uninitialzed memory. (Dominique Pelle) Solution: Check the length before checking for a NUL.
author Christian Brabandt <cb@256bit.org>
date Fri, 09 Sep 2016 14:30:08 +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