> 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
No comments:
Post a Comment