diff runtime/filetype.vim @ 13857:e751b5c9dff3

Update runtime files. commit https://github.com/vim/vim/commit/85eee130f44a2201d88ca2aeff0af3b11dd75fa9 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 6 17:57:30 2018 +0200 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Sun, 06 May 2018 18:00:08 +0200
parents 371ceeebbdaa
children 2f7e67dd088c
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1,7 +1,7 @@
 " Vim support file to detect file types
 "
 " Maintainer:	Bram Moolenaar <Bram@vim.org>
-" Last Change:	2018 Jan 28
+" Last Change:	2018 May 04
 
 " Listen very carefully, I will say this only once
 if exists("did_load_filetypes")
@@ -429,6 +429,13 @@ au BufNewFile,BufRead control
 	\|   setf debcontrol
 	\| endif
 
+" Debian Copyright
+au BufNewFile,BufRead */debian/copyright	setf debcopyright
+au BufNewFile,BufRead copyright
+	\  if getline(1) =~ '^Format:'
+	\|   setf debcopyright
+	\| endif
+
 " Debian Sources.list
 au BufNewFile,BufRead */etc/apt/sources.list		setf debsources
 au BufNewFile,BufRead */etc/apt/sources.list.d/*.list	setf debsources