view runtime/ftplugin/diff.vim @ 7060:41ccc6f95954 v7.4.842

commit https://github.com/vim/vim/commit/cdf0442d009ea97fad06d72231f7de309c75205a Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 27 22:25:10 2015 +0200 patch 7.4.842 Problem: Sending too many messages to close the balloon. Solution: Only send a WM_CLOSE message. (Jurgen Kramer)
author Christian Brabandt <cb@256bit.org>
date Thu, 27 Aug 2015 22:30:13 +0200
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