Log file highlighting for vim

Viewed 1336

In VIM I would like to highlight my files ending with extension .log as shown below

enter image description here

I tried installing https://github.com/MTDL9/vim-log-highlighting .

Vim version = IMproved 8.0

.vimrc file = https://github.com/aseem-hegshetye/vim_setup/blob/master/.vimrc

UPDATE

Following steps got me a certain highlights structure shown in an image below, but not as good as what I am looking for :

  1. create ~/.vim/syntax/log.vim from this file: https://github.com/dzeban/vim-log-syntax/blob/master/syntax/log.vim
  2. Create ~/.vim/ftdetect/log.vim from this file: https://github.com/MTDL9/vim-log-highlighting/blob/master/syntax/log.vim enter image description here

Thanks

0 Answers
Related