sponsor Vim development Vim logo Vim Book Ad

ACE Log syntax : Syntax Highlight for ACE log file

 script karma  Rating 22/10, Downloaded by 368  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
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
acelog.vim 1.0 2019-03-19 7.0 Like Ma Initial upload
ip used for rating: 54.205.243.115

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github