Ask a Question related to Debian, Design and Development.
-
Johann Koenig #1
Re: VIM - no syntax highlighting on console
On Sat, 02 Aug 2003 22:20:06 +0200
Jaque Moreau <mr.wimpy@firemail.de> wrote:
In command mode (in VI), type ":syntax on" and see if that fixes it. I would suppose, if it does, that either the global vimrc does not set it on, or it is set off by another config file somewhere.> there is no syntax highlighting on console, only under xterm.
>
> syntax on is enabled in global vimrc.
>
> where should I dig further?
>
> what information do you need?
It should not be an issue of the console supporting color, because it works for me without any kind of framebuffer, etc.
--
-johann koenig
now playing: Mass Hysteria - Please Please Please
Today is Prickle-Prickle, the 68th day of Confusion in the YOLD 3169
My public pgp key: [url]http://mental-graffiti.com/pgp/johannkoenig.pgp[/url]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/LC58Fk4duwOzQpURAkRlAJ0QmV7B9eNXv8rqOZRZYDAdhBX5QA CfSYOD
avVo6z/HdlMfxbIVGUUa3hc=
=xS2O
-----END PGP SIGNATURE-----
Johann Koenig Guest
-
Syntax-Highlighting
Hi there, is there a plug-in or extension for dreamweaver which enables syntax-highlighting ? Thank you very much, greets, ben -
SQL query text breaks syntax highlighting
The following code messes up dreamweaver's syntax highlighting. Im assuming it's because the parser sees the bracket and thinks it's a tag. ... -
Perl Syntax Highlighting
Greetings fellow members, I am in search for Perl/CGI definitions for use within CodeColoring.xml and Colors.xml. Perl syntax highlighting would... -
custom syntax highlighting in html-kit
Hello, I'd REALLY REALLY like to be able to modify the syntax highlighting in html-kit. Is this possible? Right now in PHP if you have a line... -
#24550 [Ver->Csd]: tokenizing & syntax highlighting crashes
ID: 24550 Updated by: stas@php.net Reported By: hos dot endre at axelero dot hu -Status: Verified +Status: ... -
Jaque Moreau #2
Re: VIM - no syntax highlighting on console
Johann Koenig schrieb im Artikel <gcAa.3Bm.17@gated-at.bofh.it>:
it didn't work.> --=.5UPOgFdrEYOzCL
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: 7bit
>
> On Sat, 02 Aug 2003 22:20:06 +0200
> Jaque Moreau <mr.wimpy@firemail.de> wrote:
>>>> there is no syntax highlighting on console, only under xterm.
>>
>> syntax on is enabled in global vimrc.
>>
>> where should I dig further?
>>
>> what information do you need?
> In command mode (in VI), type ":syntax on" and see if that fixes it. I would suppose, if it does, that either the global vimrc does not set it on, or it is set off by another config file somewhere.
> It should not be an issue of the console supporting color, because it works for me without any kind of framebuffer, etc.
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Jaque Moreau Guest
-
Santanu Chatterjee #3
Re: VIM - no syntax highlighting on console
Jaque Moreau <mr.wimpy@firemail.de> writes:
> Johann Koenig schrieb im Artikel <gcAa.3Bm.17@gated-at.bofh.it>:> > --=.5UPOgFdrEYOzCL
> > Content-Type: text/plain; charset=US-ASCII
> > Content-Transfer-Encoding: 7bit
> >
> > On Sat, 02 Aug 2003 22:20:06 +0200
> > Jaque Moreau <mr.wimpy@firemail.de> wrote:
> >> >> there is no syntax highlighting on console, only under xterm.Check your TERM variable.>> > In command mode (in VI), type ":syntax on" and see if that fixes
> > it. I would suppose, if it does, that either the global vimrc does
> > not set it on, or it is set off by another config file somewhere.
> it didn't work.
Regards,
Santanu
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Santanu Chatterjee Guest
-
Santanu Chatterjee #4
Re: VIM - no syntax highlighting on console
Jaque Moreau <mr.wimpy@firemail.de> writes:
try> Johann Koenig schrieb im Artikel <gcAa.3Bm.17@gated-at.bofh.it>:>> > Jaque Moreau <mr.wimpy@firemail.de> wrote:
> >> >> there is no syntax highlighting on console, only under xterm.
> >> syntax on is enabled in global vimrc.
> it didn't work.
>
:set term=$TERM
Regards,
Santanu
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Santanu Chatterjee Guest
-
Jaque Moreau #5
Re: VIM - no syntax highlighting on console
>> it didn't work.
TERM=linux>
> Check your TERM variable.
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Jaque Moreau Guest
-
Santanu Chatterjee #6
Re: VIM - no syntax highlighting on console
Jaque Moreau <mr.wimpy@firemail.de> writes:
I read this thread from the middle and missed the rest. So, if I>> > try> >> it didn't work.
> >>
> >:set term=$TERM
> in vim? What does it do?
understood your question correctly, you got colors in terminal, but not
while in vim. If that is true, you have a terminal that supports
color, but vim does not know about it. In that case see the value of
the $TERM variable at the terminal, and set that value in Vim as
mentioned above, replacing $TERM with the actual value you got.
For example, in one of our Slackware machines at college, Vim did not
show colors when the term variable was set to xterm. It showed colors
only after I changed it to xterm-color using
:set term=xterm-color
HTH
Santanu
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Santanu Chatterjee Guest
-
Jaque Moreau #7
Re: VIM - no syntax highlighting on console
Santanu Chatterjee schrieb im Artikel <h7oA.2t1.5@gated-at.bofh.it>:
so this would mean I would have to set $TERM to linux as it is set to> Jaque Moreau <mr.wimpy@firemail.de> writes:
>>>>>> >> it didn't work.
>> >>
>> > try
>> >:set term=$TERM
>> in vim? What does it do?
> I read this thread from the middle and missed the rest. So, if I
> understood your question correctly, you got colors in terminal, but not
> while in vim. If that is true, you have a terminal that supports
> color, but vim does not know about it. In that case see the value of
> the $TERM variable at the terminal, and set that value in Vim as
> mentioned above, replacing $TERM with the actual value you got.
linux by default and other software is able to use colors.
I'll try if I am at home again.
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Jaque Moreau Guest



Reply With Quote

