Bug#598197: vim: colorify syntax works incorectly
Marcin Bednarz
Marcin.Bednarz at portal.onet.pl
Mon Sep 27 12:12:12 UTC 2010
Package: vim
Version: 2:7.2.445+hg~cb94c42c0e1a-1
Severity: minor
X-Mailer: reportbug 4.10.2
Date: Mon, 27 Sep 2010 12:52:31 +0200
> 1 #! /usr/bin/perl -T
> 2 #(...)
> 3 if ($$fn_services{$fn_host}->[3])
> 4 {
> 5 $query .= qq{'$$fn_services{$fn_host}->[3]'};
> 6 }
> 7 else
> 8 {
> 9 print "problem ?\n";
> 10 exit 1;
> 11 }
> 12
>
>
> ...almost all after first "}" in line 5 is in one -the same- color - red.
>
> cyan: $query .=
> red: qq{'
> cyan: $$fn_services{$fn_host
> red!!!: }
> gray: ->[
> red: 3
> gray: ]
> red: '};
> and all below line 5 is red !
>
> ex. "else" in line 7 should be yellow, { should be gray ... and so on....
>
>
> cat .vimrc
> :syn on
>
>
>
>
> the same configuration on vim=7.0-122+1etch1 works good.
> ii libacl1 2.2.41-1 Access control list shared library
> ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
> ii libncurses5 5.5-5 Shared libraries for terminal handling
> ii libselinux1 1.32-3 SELinux shared libraries
> ii vim-common 7.0-122+1etch1 Vi IMproved - Common files
> ii vim-runtime 7.0-122+1etch1 Vi IMproved - Runtime files
>
>
>
> below information about my shell:/bin/sh is invalid, my shell is bash:
> # ps
> PID TTY TIME CMD
> 24667 pts/7 00:00:00 bash
> 24723 pts/7 00:00:00 ps
>
> although (normaly in debian):
> -rwxr-xr-x 1 root root 810196 2010-01-02 /bin/bash
> lrwxrwxrwx 1 root root 4 2010-02-17 /bin/sh -> dash
>
>
> -- System Information:
> Debian Release: squeeze/sid
> APT prefers testing
> APT policy: (500, 'testing')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.28-c6-tuxonice (SMP w/2 CPU cores)
> Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8) (ignored: LC_ALL set to pl_PL.utf8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages vim depends on:
> ii libacl1 2.2.49-2 Access control list shared library
> ii libc6 2.10.2-2 GNU C Library: Shared libraries
> ii libgpm2 1.20.4-3.3 General Purpose Mouse - shared lib
> ii libncurses5 5.7+20100313-2 shared libraries for terminal hand
> ii libselinux1 2.0.96-1 SELinux runtime shared libraries
> ii vim-common 2:7.2.445+hg~cb94c42c0e1a-1 Vi IMproved - Common files
> ii vim-runtime 2:7.2.445+hg~cb94c42c0e1a-1 Vi IMproved - Runtime files
>
> vim recommends no packages.
>
> Versions of packages vim suggests:
> ii exuberant-ctags [ctags] 1:5.8-2 build tag file indexes of source c
> pn vim-doc <none> (no description available)
> pn vim-scripts <none> (no description available)
>
> -- no debconf information
>
--
Marcin Bednarz
More information about the pkg-vim-maintainers
mailing list