log4j.vim : Adds syntax highlighting for log4j and log4php log files
| script karma
Downloaded by 194
Comments, bugs, improvements
script versions (upload new version)
|Adds syntax highlighting for log4j and log4php log files. Initially created to solve log4php syntax highlighting.
|Copy log4j.vim into your ~/.vim/syntax directory. Because there is no reliable method of detecting log files generated from log4j/log4php, you can output log files have a .log extension and add the following to your ~/.vimrc file to trigger the syntax highlighting:
autocmd BufRead,BufNewFile *.log set syntax=log4j
If renaming log file extensions is not possible or desirable you can specify the exact name or pattern for the log files:
autocmd BufRead,BufNewFile program_log set syntax=log4j
Click on the package to download.
ip used for rating: 188.8.131.52