Hi Alessandro! On Sa, 24 Sep 2011, Alessandro Antonello wrote:
> According to what I see with MacVim, the only file that is highlighted > from the /var/log is a set of *messages* files. What you need to do is > add an auto command in your 'vimrc' file to including the LOGs you > whant to highlight. Or, more basically you can set the file type after > you open that file. > > For example, I added the following to my `vimrc' file: > > au BufNewFile,BufRead /var/log/*.log setf messages > > Any file from `/var/log' with `.log' extension will be highlighted as > `messages' file type. There exists already such an autocommand in $VIMRUNTIME/filetype.vim regards, Christian -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
