Bug 816848

Summary: Some /var/log/ files are not highlighted by vim
Product: [Fedora] Fedora Reporter: Gökçen Eraslan <gokcen.eraslan>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: karsten
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-21 09:11:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gökçen Eraslan 2012-04-27 07:44:26 UTC
Description of problem:

Rotated messages files like /var/log/messages-20120401 and cron log file (/var/log/cron) are not syntax highlighted by vim.

Current hg mirror of vim sources shows that this is already fixed in vim by adding "-[0-9]*" to the au command:

http://code.google.com/p/vim/source/browse/runtime/filetype.vim#1125

So, when I use that au command, problem is gone.

Version-Release number of selected component (if applicable):
vim-filesystem-7.3.444-1.fc17.x86_64
vim-enhanced-7.3.444-1.fc17.x86_64
vim-minimal-7.3.444-1.fc17.x86_64
vim-common-7.3.444-1.fc17.x86_64

Steps to Reproduce:
1. sudo vim /var/log/messages-*

Comment 1 Gökçen Eraslan 2012-05-19 10:24:34 UTC
Ping?

Comment 2 Karsten Hopp 2012-05-21 09:11:22 UTC
fixed in git, will be in the next vim package