diff runtime/filetype.vim @ 22462:89566aaebfb2 v8.2.1779

patch 8.2.1779: some debian changelog files are not recognized Commit: https://github.com/vim/vim/commit/0022675aa362da0969666e48ced252b57ca1f79e Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 1 16:54:07 2020 +0200 patch 8.2.1779: some debian changelog files are not recognized Problem: Some debian changelog files are not recognized. Solution: Add */debian/changelog. (Jason Franklin)
author Bram Moolenaar <Bram@vim.org>
date Thu, 01 Oct 2020 17:00:04 +0200
parents a3bb84cd0f59
children d16f9bd12b82
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -317,7 +317,7 @@ au BufNewFile,BufRead *.css			setf css
 au BufNewFile,BufRead *.con			setf cterm
 
 " Changelog
-au BufNewFile,BufRead changelog.Debian,changelog.dch,NEWS.Debian,NEWS.dch
+au BufNewFile,BufRead changelog.Debian,changelog.dch,NEWS.Debian,NEWS.dch,*/debian/changelog
 					\	setf debchangelog
 
 au BufNewFile,BufRead [cC]hange[lL]og