view runtime/ftplugin/diff.vim @ 2073:5bedef935ce3 v7.2.357

updated for version 7.2.357 Problem: When changing 'fileformat' from/to "mac" and there is a CR in the text the display is wrong. Solution: Redraw the text when 'fileformat' is changed. (Ben Schmidt)
author Bram Moolenaar <bram@zimbu.org>
date Thu, 11 Feb 2010 17:02:11 +0100
parents 7472c565592a
children 3a1ed539ae2a
line wrap: on
line source

" Vim filetype plugin file
" Language:	Diff
" Maintainer:	Bram Moolenaar <Bram@vim.org>
" Last Change:	2005 Jul 27

" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
  finish
endif
let b:did_ftplugin = 1

let b:undo_ftplugin = "setl modeline<"

" Don't use modelines in a diff, they apply to the diffed file
setlocal nomodeline