FS#17216 - [vim] Fix the /var/log/messages.log colorization

Attached to Project: Arch Linux
Opened by Laszlo Papp (djszapi) - Friday, 20 November 2009, 06:14 GMT
Last edited by Dan Griffiths (Ghost1227) - Friday, 12 February 2010, 20:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Vim can't handle on Archlinux the /var/log/messages.log file for colorization.

You can see here the modification in the syslog conf related file from /var/log/messages, that other distribution, bsd, aix use:
http://repos.archlinux.org/wsvn/packages/syslog-ng/repos/core-i686/syslog-ng.conf


I don't know what was the reason for the changing from /var/log/messages to /var/log/messages.log, but it's fix for it to insert this line into /usr/share/vim/vim72/filetype.vim during vim building from core without modifying the syslog-ng package:
au BufNewFile,BufRead /var/log/messages,/var/log/messages.log,/var/log/messages.*[0-9] setf messages

I tested it on x86 and x86_64 too, and works for me.

This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Friday, 12 February 2010, 20:08 GMT
Reason for closing:  Fixed
Comment by Laszlo Papp (djszapi) - Sunday, 03 January 2010, 10:48 GMT
What's the state with it ?
Comment by Thomas Dziedzic (tomd123) - Sunday, 03 January 2010, 22:15 GMT
Bug still exists.

Loading...