Re: Tweaking syntax highlighting
"A. Wik" <[email protected]>
| Newsgroups | gmane.editors.vim |
|---|---|
| Message-ID | <CALPW7mR+DegQ35Xj4ujLAauUBzDsUEjSryDwUYfxaP1eO9uwaw@mail.gmail.com> |
On Fri, 15 Mar 2024 at 17:59, Christian Brabandt <[email protected]> wrote: > > > On Fr, 15 Mär 2024, A. Wik wrote: > > > I have: > > colorscheme blue > > set background=dark > > hi Error guifg=darkgrey guibg=lightred gui=underline > > \ ctermfg=darkgrey ctermbg=lightred > > in my .vimrc > > > > Normally, errors are highlighted in lightred foreground on lightred > > background, which is, of course, unreadable. Hence the "hi ..." > > statement in the .vimrc. > > > > The problem is that the "hi ..." doesn't seem to work if run from > > .vimrc, but it works when I run this manually: > > :hi Error ctermfg=darkgrey ctermbg=lightred > > What exactly do you mean with "doesn't seem to work" ? What does :hi > Error show? Or even :verbose :hi Error > After starting up the editor and setting "verbose" to 5, ":hi Error" reports the following: Error xxx term=reverse ctermfg=12 ctermbg=12 gui=underline guifg=red guibg=darkBlue Last set from c:\prg\vim73\colors\blue.vim "blue.vim" has the following statement: hi Error guifg=red guibg=darkBlue gui=underline ctermfg=red -Albert. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CALPW7mR%2BDegQ35Xj4ujLAauUBzDsUEjSryDwUYfxaP1eO9uwaw%40mail.gmail.com.