Bug 663753 - Vim syntax highlighting fails for httpd configs due to typo in filetype.vim
Summary: Vim syntax highlighting fails for httpd configs due to typo in filetype.vim
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vim
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Karsten Hopp
QA Contact: Petr Šplíchal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-16 18:41 UTC by Jim Perrin
Modified: 2018-11-27 20:46 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 857429 (view as bug list)
Environment:
Last Closed: 2012-04-05 08:24:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0454 0 normal SHIPPED_LIVE vim bug fix update 2012-04-05 12:22:05 UTC

Description Jim Perrin 2010-12-16 18:41:24 UTC
Description of problem:
/usr/share/vim/vim72/filetype.vim lists /etc/apache2/*.conf in the config around line 114 instead of the proper RHEL path of /etc/httpd/conf.d/*.conf

The standard configs are spelled out by file name as well, but if you add a local file name like for a vhost definition file, the highlighting is broken. 

Version-Release number of selected component (if applicable):
vim-enhanced-7.2.411-1.4.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1.yum install vim-enhanced
2.vim /etc/httpd/conf.d/my_custom_file.conf

  
Actual results:
Custom File has no syntax highlighting. 

Expected results:
All custom files created in /etc/httpd/conf.d/ should default to httpd syntax highlighting.

Additional info:
The reference to /etc/apache2/ should be changed to match the F12 and F14 style

Comment 2 RHEL Program Management 2011-07-06 00:24:39 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 3 Jim Perrin 2011-07-11 18:11:37 UTC
This couldn't have been rolled into the vim-enhanced-7.2.411-1.6 update?

It's an easy/trivial fix.

Comment 4 Jim Perrin 2011-11-29 23:07:33 UTC
Can this be addressed please? It's going to celebrate a birthday soon.

Comment 7 Jim Perrin 2012-02-09 13:51:42 UTC
Okay, we're into 2012 now. Please can we resolve this? It's an incredibly trivial fix....

Comment 8 Karsten Hopp 2012-02-09 15:40:40 UTC
The fix is not the problem here, this is about justifying a complete QA cycle for such a minor issue.

Comment 9 Jim Perrin 2012-02-09 16:35:41 UTC
That sounds quite a bit like the internal process is broken if fixing a typo requires a complete qa cycle.

How about an uprev then to 7.3, which includes better ruby code handling (that also fixes this typo). This can be tied directly to two incubator projects rh has running. Katello, and foreman are both heavily ruby and would benefit from an uprev of vim to include better ruby handlers.

Comment 14 errata-xmlrpc 2012-04-05 08:24:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0454.html


Note You need to log in before you can comment on or make changes to this bug.