Re: vim syntax highlight F9



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



Relevant Pages

  • Re: vim syntax highlight F9
    ... 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. ...
    (Fedora)
  • Unix commands within Python code
    ... What is the syntax to embed Unix commands, ... other programs within a Python script? ... I would appreciate if someone can send me the syntax, ... New and Improved Yahoo! ...
    (comp.lang.python)
  • Re: Suse 11.1 cant join my Apple Wireless Network.
    ... Are you sure the syntax is correct? ... Open Office for Windows/OSX/Linux:http://www.openoffice.org ... OpenSUSE Linux:http://en.opensuse.org ... I'll try again in Linux. ...
    (alt.os.linux.suse)
  • [kde-linux] Konqueror: More Tabs on startup
    ... In FF i can set many Tabs to load by startup. ... The Syntax is: ... openSUSE Ambassador ...
    (KDE)
  • Re: Bad Code (that works) help me re-write!
    ... No doubt you will get some kind soul to suggest some things, ... say a python script itself). ... syntax than Python? ... A restricted set of operations? ...
    (comp.lang.python)