Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Vim users, help me get my syntax highlighting working, please?
- Date: Thu, 28 Jun 2007 11:45:53 +0900
- From: "Josh Glover" <jmglov@example.com>
- Subject: Re: [tlug] Vim users, help me get my syntax highlighting working, please?
- References: <d8fcc0800706271822s5f46713ap548bb1746f243887@mail.gmail.com> <f118b8b90706271853t49436263wb59ffb0d22c26120@mail.gmail.com>
On 28/06/07, Keith Bawden <keith@example.com> wrote:
set background=dark
Actually, Vim is smart enough to figure that out from my .Xdefaults.
Also, you can change colour schemes as follows (where darkblue is the name of scheme you want to use)[1]
colorscheme darkblue
This is neat, but I want my colours to be exactly like XEmacs. I ended up doing this:
: jglover@example.com; cat ~/.vim/after/syntax/syncolor.vim if &background == "light" highlight comment ctermfg=darkgreen guifg=darkgreen else highlight comment ctermfg=green guifg=green endif
hi Comment ctermfg=white hi String ctermfg=Brown hi Statement ctermfg=Yellow hi Identifier ctermfg=LightRed hi Type ctermfg=LightBlue
Thanks everyone, especially Mattia!
-- Cheers, Josh
- References:
- [tlug] Vim users, help me get my syntax highlighting working, please?
- From: Josh Glover
- Re: [tlug] Vim users, help me get my syntax highlighting working, please?
- From: Keith Bawden
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Vim users, help me get my syntax highlighting working, please?
- Next by Date: Re: [tlug] Vim users, help me get my syntax highlighting working, please?
- Previous by thread: Re: [tlug] Vim users, help me get my syntax highlighting working, please?
- Next by thread: Re: [tlug] Vim users, help me get my syntax highlighting working, please?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links