Bug 438989
Summary: | Picky: vim coloring for bash scripts handles a special case wrongly | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | David Tonhofer <bughunt> |
Component: | vim | Assignee: | Karsten Hopp <karsten> |
Status: | CLOSED DEFERRED | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 4.8 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-10-30 13:17:55 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
David Tonhofer
2008-03-26 13:07:18 UTC
The current Fedora 10 version seems to get this right, '1' is colored differently than '0' with your testcase. Unfortunately I'm not allowed to push a new package with such a minor fix, but I'll try to get this bugzilla approved when I have to do the next vim erratum (non-security only). I think a fix would be to edit /usr/share/vim/vim63/syntax/sh.vim and replace the line syn match shDerefSimple "\$\w\+" with syn match shDerefSimple "\$\%(\h*\w*\|\d\)" |