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