Package: vim Version: 1:6.3-086+1 Severity: wishlist Tags: patch Hello,
The file /usr/share/vim/vim63/syntax/svn.vim contains the syntax for the subversion commit message. Unfortunately the syntax only works with the english subversion message. The english message "--This line, and those below, will be ignored--" is "--Cette ligne, et les suivantes ci-dessous, seront ignorées--" in french. I propose the included patch. The idea is to match "^--.*--$" --- /usr/share/vim/vim63/syntax/svn.vim 2005-08-22 18:31:41.000000000 +0200 +++ /home/lroussea/.vim/syntax/svn.vim 2005-11-29 13:15:39.000000000 +0100 @@ -13,7 +13,7 @@ finish endif -syn region svnRegion start="--This line, and those below, will be ignored--" end="\%$" contains=ALL +syn region svnRegion start="^--.*--$" end="\%$" contains=ALL syn match svnRemoved "^D .*$" contained syn match svnAdded "^A[ M] .*$" contained syn match svnModified "^M[ M] .*$" contained @@ -21,7 +21,7 @@ " Synchronization. syn sync clear -syn sync match svnSync grouphere svnRegion "--This line, and those below, will be ignored--"me=s-1 +syn sync match svnSync grouphere svnRegion "^--.*--$"me=s-1 " Define the default highlighting. " For version 5.7 and earlier: only when not done already. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-1-686 Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1) Versions of packages vim depends on: ii dpkg 1.13.11.0.1 package maintenance system for Deb ii libc6 2.3.5-8 GNU C Library: Shared libraries an ii libgpmg1 1.19.6-21 General Purpose Mouse - shared lib ii libncurses5 5.5-1 Shared libraries for terminal hand ii vim-common 1:6.3-086+1 Vi IMproved - Common files vim recommends no packages. -- no debconf information

