Syntax Highlighting for db2diag.log : Syntax plug in for IBM DB2 diagnostic log file
script karma |
Rating 10/7,
Downloaded by 637 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Jacobo de Vera |
|
script type |
syntax |
|
description |
This syntax plug-in highlights the main fields in a db2diag.log file. |
|
install details |
1. Copy the db2diag.log.vim file into the ~/.vim/syntax/ directory.
2. Add this to your ~/.vimrc file:
syntax on
3. Create a ~/.vim/ftdetect/db2diaglog.vim file with this line in it to make Vim apply the syntax automatically, based of the file name:
autocmd BufNewFile,BufRead db2diag.log setfiletype db2diaglog
* Alternatively, you can skip this step and specify the file type every time you need the syntax by running this command:
:set filetype=db2diaglog
4. Open your db2diag.log file. You should see the colours!
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.137.180.32
|