Bug#328081: vim-common: Syntax-highlighting for NEWS.dch & co
Damyan Ivanov (at work)
divanov at creditreform.bg
Tue Sep 13 10:11:47 UTC 2005
Package: vim-common
Version: 1:6.3-086+1
Severity: wishlist
Tags: patch
Hi,
Attached patch adds syntax highlight support for the following:
- NEWS.dch, NEWS.Debian, NEWS.Debian.gz - unconditionally (same way as
changelog.dch)
- NEWS - conditionally (similar to ChangeLog)
Please consider applying.
Thanks,
dam
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12+reiser4+dam.3
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Versions of packages vim-common depends on:
ii vim 1:6.3-086+1 Vi IMproved - enhanced vi editor
vim-common recommends no packages.
-- no debconf information
-------------- next part --------------
--- /usr/share/vim/vim63/filetype.vim.orig 2005-09-01 19:59:04.000000000 +0300
+++ /usr/share/vim/vim63/filetype.vim 2005-09-13 13:07:20.000000000 +0300
@@ -299,9 +299,11 @@
au BufNewFile,BufRead *.con setf cterm
" Changelog
-au BufNewFile,BufRead changelog.Debian,changelog.Debian.gz,changelog.dch setf debchangelog
+au BufNewFile,BufRead changelog.Debian,changelog.Debian.gz,changelog.dch,NEWS.dch,NEWS.Debian,NEWS.Debian.gz setf debchangelog
au BufNewFile,BufRead [cC]hange[lL]og if getline(1) =~ '; urgency='
\| setf debchangelog | else | setf changelog | endif
+au BufNewFile,BufRead NEWS if getline(1) =~ '; urgency='
+ \| setf debchangelog | endif
" CHILL
au BufNewFile,BufRead *..ch setf chill
More information about the pkg-vim-maintainers
mailing list