Bug#598197: [vim-runtime] Perl highlighting mishandles qq{} with internal }
mark
mark at syminet.com
Fri Sep 21 20:24:56 UTC 2012
Package: vim
Followup-For: Bug #598197
Getting same behavior here, e.g.:
62 rebuild_vms() if $opt_req eq "rebuild";
63 rename_vms() if $opt_req eq "rename";
64 $sth = $dbh->prepare(qq { UPDATE vox_vms SET status="$opt_req" WHERE id="$result->{id}" });
65 $sth->execute;
66 } else {
67 print "ERR_VM_NOT_FOUND $opt_id\n";
68 }
....line 64 up there, "$result->{id}" ... the second bracket is not highlighted
correctly and all code underneath it loses highlighting. If I put a space like
so "$result-> {id}" then all highlighting comes back, but of course then my hashref
has an empty value.
To make it easy to see, I posted a ten second video on youtube here:
http://www.youtube.com/watch?v=dn8Ka-RWraQ
Best
--
Mark
-- Package-specific info:
--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.basic
/usr/bin/vim is /usr/bin/vim.basic
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-3-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages vim depends on:
ii libacl1 2.2.51-8
ii libc6 2.13-35
ii libgpm2 1.20.4-6
ii libselinux1 2.1.9-5
ii libtinfo5 5.9-10
ii vim-common 2:7.3.547-4
ii vim-runtime 2:7.3.547-4
vim recommends no packages.
Versions of packages vim suggests:
pn ctags <none>
pn vim-doc <none>
pn vim-scripts <none>
-- no debconf information
More information about the pkg-vim-maintainers
mailing list