diff.vim 355 B

12345678910111213141516
  1. " Vim filetype plugin file
  2. " Language: Diff
  3. " Maintainer: Bram Moolenaar <Bram@vim.org>
  4. " Last Change: 2005 Jul 27
  5. " Only do this when not done yet for this buffer
  6. if exists("b:did_ftplugin")
  7. finish
  8. endif
  9. let b:did_ftplugin = 1
  10. let b:undo_ftplugin = "setl modeline<"
  11. " Don't use modelines in a diff, they apply to the diffed file
  12. setlocal nomodeline