Package: vim-runtime Version: 2:7.2.445+hg~cb94c42c0e1a-1 Severity: minor While looking at Windows registry files (*.reg) in vim I noticed that the highlighting for ft=registry files doesn't seem to work at all. To reproduce this issue, just create a file "test.reg" with the following content:
REGEDIT4 ; Test Open it in vim and notice that the comment is not highlighted as such. A broken regex in syntax/registry.vim seems to be responsible for this issue; the following patch fixes it for me: iserv syntax # diff -u registry.vim.orig registry.vim --- registry.vim.orig 2012-09-10 20:32:25.000000000 +0200 +++ registry.vim 2012-09-10 20:32:41.000000000 +0200 @@ -58,7 +58,7 @@ " Subkey syn match registrySubKey "^\".*\"=" " Default value -syn match registrySubKey "^\@=" +"syn match registrySubKey "^\@=" " Numbers -- System Information: Debian Release: 6.0.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash vim-runtime depends on no packages. Versions of packages vim-runtime recommends: ii vim 2:7.2.445+hg~cb94c42c0e1a-1 Vi IMproved - enhanced vi editor vim-runtime suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

