Saturday, September 24, 2011

Re: Highlight

* Christian Brabandt <cblists@256bit.org> [2011-09-22 10:13+0200]
> On Thu, September 22, 2011 8:05 am, Lennart Andersen wrote:
> > Could some tell me how I get syntax highlight on log files in the /var/log
> > dir? Such as
> > message, syslog, so on files with no extension.
>
> It should work out of the box. A simple :syntax on should work.
> Vim's runtime files contain detection of logfiles below */log/
> which should work for most of those files below /var/log/ without
> problems. But I believe there have been some changes on that matter
> to the runtime files within the last half year, so you might need
> to update your runtime files.
>
> 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

I know, but it is not and I do get every other file in color, but not
files in the "/var/log" directory. It is starting to piss me off! :-)

--

Lennart Andersen
St Thomas, Ontario
http://www.lennartandersen.com
lennartka at rogers dot com
gdane0871 at gmail dot com
----------------------------
- Debian - when you have better things to do than
fixing a system

--
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

No comments: