view runtime/ftplugin/diff.vim @ 18997:6b2d93436388 v8.2.0059

patch 8.2.0059: compiler warnings for unused variables in small build Commit: https://github.com/vim/vim/commit/85b0957616e9d9d0edef44baa9fa6c6a2037782d Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 30 10:57:00 2019 +0100 patch 8.2.0059: compiler warnings for unused variables in small build Problem: Compiler warnings for unused variables in small build. (Tony Mechelynck) Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Mon, 30 Dec 2019 11:00:04 +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