On 26/02/2013 01:51, Tim Johnson wrote:

> Hello:
> How can set syntax highlighting for .profile on the mac os 10.7, as I
> would for .bashrc or .bash_profile?
> thanks
> 

I use:

'au BufRead,BufNewFile {*.cfg,*.profile,*.log} set ft=syslog'

in my vimrc. syslog.vim is a syntax plugin available from the scripts
page on: <www.vim.org>

Cheers,

  Phil...


-- 
-- 
You received this message from the "vim_mac" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to