view runtime/ftplugin/rst.vim @ 13608:2a2b668cf24c v8.0.1676

patch 8.0.1676: no compiler warning for wrong printf format commit https://github.com/vim/vim/commit/4ac2e8d8e60dcc7dbff662e177b86ccfbda7cd9e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 8 12:38:26 2018 +0200 patch 8.0.1676: no compiler warning for wrong printf format Problem: No compiler warning for wrong printf format. Solution: Add a printf attribute for gcc. Fix reported problems. (Dominique Pelle, closes #2789)
author Christian Brabandt <cb@256bit.org>
date Sun, 08 Apr 2018 12:45:07 +0200
parents 1218c5353e2b
children 2f7e67dd088c
line wrap: on
line source

" Vim filetype plugin file
" Language:             reStructuredText documentation format
" Previous 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