ACE Log syntax : Syntax Highlight for ACE log file
script karma |
Rating 22/10,
Downloaded by 466 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Like Ma |
|
script type |
syntax |
|
description |
Syntax Highlight for the Adaptive Communication Environment log file. (https://www.dre.vanderbilt.edu/~schmidt/ACE.html) |
|
install details |
Put it into syntax directory (e.g. ~/.vim/syntax) and add acelog filetype
au BufNewFile,BufRead *.log
\ if getline(1) =~ '^\d\{4}-\d\d-\d\d\s\+\d\d:\d\d:\d\d[\.,]\d\+@[^@]\+@\d\+@LM_\(TRACE\|SHUTDOWN\|STARTUP\|DEBUG\|INFO\|NOTICE\|WARNING\|ERROR\|CRITICAL\|ALERT\|EMERGENCY\)' |
\ setf acelog |
\ endif
in your filetype.vim or ~/.vimrc |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.191.171.178
|