view runtime/ftplugin/diff.vim @ 19507:65049a682574 v8.2.0311

patch 8.2.0311: Vim9: insufficient script tests Commit: https://github.com/vim/vim/commit/750802b55c6edda4d3bc78c41ad0a25a3450a557 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 23 18:08:33 2020 +0100 patch 8.2.0311: Vim9: insufficient script tests Problem: Vim9: insufficient script tests. Solution: Add tests. Free imports when re-using a script.
author Bram Moolenaar <Bram@vim.org>
date Sun, 23 Feb 2020 18:15:03 +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