Created
March 5, 2013 21:50
-
-
Save geermc4/5094632 to your computer and use it in GitHub Desktop.
work in progress, colors for a rails production log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vim syntax file | |
" Language: railslog | |
" Maintainer: German Garcia <[email protected]> | |
" Last Change: 5 March 2013 | |
if exists("b:current_syntax") | |
finish | |
endif | |
syn match controller "Processing by.*" | |
syn match redirect "Redirected to.*" | |
syn match errors ".*Internal Server Error.*" | |
syn match request "Started.*" | |
syn match gateway_params contained ' *.*: ' | |
syn region gateway_err start="Gateway Error" end="^\n" contains=gateway_params | |
hi controller ctermfg=magenta guifg=magenta | |
hi redirect ctermfg=Yellow guifg=Yellow | |
hi errors ctermfg=Red guifg=Black guibg=Red | |
hi request ctermfg=Green guifg=Green | |
hi gateway_params ctermfg=Cyan guifg=Cyan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment