comparison 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
comparison
equal deleted inserted replaced
22461:bb43a58b02a5 22462:89566aaebfb2
315 315
316 " Century Term Command Scripts (*.cmd too) 316 " Century Term Command Scripts (*.cmd too)
317 au BufNewFile,BufRead *.con setf cterm 317 au BufNewFile,BufRead *.con setf cterm
318 318
319 " Changelog 319 " Changelog
320 au BufNewFile,BufRead changelog.Debian,changelog.dch,NEWS.Debian,NEWS.dch 320 au BufNewFile,BufRead changelog.Debian,changelog.dch,NEWS.Debian,NEWS.dch,*/debian/changelog
321 \ setf debchangelog 321 \ setf debchangelog
322 322
323 au BufNewFile,BufRead [cC]hange[lL]og 323 au BufNewFile,BufRead [cC]hange[lL]og
324 \ if getline(1) =~ '; urgency=' 324 \ if getline(1) =~ '; urgency='
325 \| setf debchangelog 325 \| setf debchangelog