[Bug 1088442] [NEW] Empty Bash array wrongly highlighted as error in "do" construct
l0b0
victor.engmark at gmail.com
Mon Dec 10 11:48:40 UTC 2012
Public bug reported:
To reproduce, simply cut'n'paste this into a new file:
#!/usr/bin/env bash
foo=()
while true
do
bar=()
done
The two sets of parentheses will be formatted differently in VIM 7.3:
With a black terminal background as the default, the first construct
shows up as a dark blue "(" followed by a dark blue ")", both on a black
background. The second is a white "(" on a black background followed by
a white ")" on a red background, the latter indicating an error. These
two instances should be formatted the same.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: vim 2:7.3.429-2ubuntu2.1
ProcVersionSignature: Ubuntu 3.2.0-34.53-generic 3.2.33
Uname: Linux 3.2.0-34-generic i686
ApportVersion: 2.0.1-0ubuntu15
Architecture: i386
Date: Mon Dec 10 12:38:49 2012
InstallationMedia: Ubuntu 10.04.4 LTS "Lucid Lynx" - Release i386 (20120214.2)
MarkForUpload: True
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: vim
UpgradeStatus: Upgraded to precise on 2012-07-19 (144 days ago)
** Affects: vim (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 precise running-unity
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/1088442
Title:
Empty Bash array wrongly highlighted as error in "do" construct
Status in “vim” package in Ubuntu:
New
Bug description:
To reproduce, simply cut'n'paste this into a new file:
#!/usr/bin/env bash
foo=()
while true
do
bar=()
done
The two sets of parentheses will be formatted differently in VIM 7.3:
With a black terminal background as the default, the first construct
shows up as a dark blue "(" followed by a dark blue ")", both on a
black background. The second is a white "(" on a black background
followed by a white ")" on a red background, the latter indicating an
error. These two instances should be formatted the same.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: vim 2:7.3.429-2ubuntu2.1
ProcVersionSignature: Ubuntu 3.2.0-34.53-generic 3.2.33
Uname: Linux 3.2.0-34-generic i686
ApportVersion: 2.0.1-0ubuntu15
Architecture: i386
Date: Mon Dec 10 12:38:49 2012
InstallationMedia: Ubuntu 10.04.4 LTS "Lucid Lynx" - Release i386 (20120214.2)
MarkForUpload: True
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: vim
UpgradeStatus: Upgraded to precise on 2012-07-19 (144 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1088442/+subscriptions
More information about the foundations-bugs
mailing list