Re: vim syntax highlight F9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2008-07-31 at 13:59 +0100, Marcelo M. Garcia wrote:
> Hi
> 
> No. I mean have a colourful screen when I editing a Python script for 
> example.
> 
> I just tried in a opensuse 10.2 machine and "syntax on" works. What
> made 
> me think that is a Fedora specific issue.
> 
> Thanks
> 
> Marcelo
> 
> gerrynix wrote:
When you read the relevant lines in /e/tc/vimrc you see:
" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
  syntax on
  set hlsearch
endif

Which implies that your termminal has to be configured with colors
before syntax on will work.
--
=======================================================================
You're never too old to become younger. -- Mae West
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux