Vim Log Syntax

Vim syntax for log highlighting

Download as .zip Download as .tar.gz View on GitHub


Vim syntax file to highlight various log files.

This syntax file describes how to highlight:

Check it out:

Vim log syntax screenshot

This syntax is based on messages.vim - syntax file for highlighting Linux kernel messages, but it's not bound to positioning of elements (messages.vim requires your logs to start with Date and time values or it will not highlight anything).


Copy or symlink this file to your $VIMRUNTIME/syntax directory or to ~/.vim/syntax directory