view runtime/ftplugin/diff.vim @ 24715:004b1c60daa9 v8.2.2896

patch 8.2.2896: spellfile functionality not fully tested Commit: https://github.com/vim/vim/commit/dc3275a1ac73b6c4d0c9d2e238ea80b477705b6f Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Fri May 28 18:32:12 2021 +0200 patch 8.2.2896: spellfile functionality not fully tested Problem: Spellfile functionality not fully tested. Solution: Add tests for CHECKCOMPOUNDPATTERN and COMMON. (Dominique Pell?, closes #8270)
author Bram Moolenaar <Bram@vim.org>
date Fri, 28 May 2021 18:45:03 +0200
parents 3a1ed539ae2a
children 624439a39432
line wrap: on
line source

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

" 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

" If there are comments they start with #
let &commentstring = "# %s"