Bug 816848 - Some /var/log/ files are not highlighted by vim
Summary: Some /var/log/ files are not highlighted by vim
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-27 07:44 UTC by Gökçen Eraslan
Modified: 2012-05-21 09:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-21 09:11:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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