log4j.vim : Adds syntax highlighting for log4j and log4php log files
| script karma |
Rating 7/16,
Downloaded by 2634 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Andrei Nicholson |
| |
| script type |
| syntax |
| |
| description |
Adds syntax highlighting for log4j and log4php log files. Initially created to solve log4php syntax highlighting.
https://github.com/tetsuo13/Vim-log4j |
| |
| install details |
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 |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.147
|