Skip to content

dzeban/vim-log-syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Description
===========

Vim syntax file to highlight various log files.

This syntax file describes how to highlight:
* Error messages (containing 'error', 'fail', etc. words)
* Warning messages (containing 'warning', 'delete', etc. words )
* Strings ( Double quotes and single quotes )
* Date values in various formats
* Time values in various formats
* Numbers - decimal and hex

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).

Install
=======

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

About

Vim syntax for log highlighting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published