Re: Syntax highlighting for .profile

2013-02-27 Thread Charles Campbell
Tim Johnson wrote: * Charles Campbell [130226 08:37]: Tim Johnson wrote: * Phil Dobbin [130226 07:10]: 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 Bu

Re: Syntax highlighting for .profile

2013-02-26 Thread Tim Johnson
* Charles Campbell [130226 08:37]: > Tim Johnson wrote: > >* Phil Dobbin [130226 07:10]: > >>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 > >>>

Re: Syntax highlighting for .profile

2013-02-26 Thread Charles Campbell
Tim Johnson wrote: * Phil Dobbin [130226 07:10]: 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&#x

Re: Syntax highlighting for .profile

2013-02-26 Thread Tim Johnson
* Phil Dobbin [130226 07:10]: > 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 Buf

Re: Syntax highlighting for .profile

2013-02-25 Thread Zhiyue Zu
add the line below at the beginning of .bashrc, .profile ... #vim: set filetype=bash or use autocmd in the vimrc. tell vim when filename is one of .bashrc,.profile,.bash_profile, set filetype to bash 在 2013-2-26 上午9:51,"Tim Johnson" 写道: > Hello: > How can set syntax highlight

Re: Syntax highlighting for .profile

2013-02-25 Thread Phil Dobbin
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

Syntax highlighting for .profile

2013-02-25 Thread Tim Johnson
Hello: How can set syntax highlighting for .profile on the mac os 10.7, as I would for .bashrc or .bash_profile? thanks -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com -- -- You received this message from the "vim_mac" maillist. Do not top-