TheLonelyStar wrote:

> Hi,
>
> I am currently trying to understand how vim text highlighting works.
> The problem is, that strings are violet and spelling errors are highlighted
> red. I can not read the string anymore.
>
> What is a quick fix for this problem?
>
> Thanks!
> nathan


In my colorscheme, I have this:

if version >= 700
  hi SpellBad   guisp=red    gui=undercurl guifg=NONE guibg=NONE
ctermfg=NONE ctermbg=NONE term=underline cterm=underline
  hi SpellCap   guisp=yellow gui=undercurl guifg=NONE guibg=NONE
ctermfg=NONE ctermbg=NONE term=underline cterm=underline
  hi SpellRare  guisp=blue   gui=undercurl guifg=NONE guibg=NONE
ctermfg=NONE ctermbg=NONE term=underline cterm=underline
  hi SpellLocal guisp=orange gui=undercurl guifg=NONE guibg=NONE
ctermfg=NONE ctermbg=NONE term=underline cterm=underline
endif


It underlines spelling errors which I find less distracting than changing
color and which interferes less with syntax highlighting.

You can put those lines in your colorscheme or directly in your ~/.vimrc.
It works in a color terminal or in gvim. Color of undercurls when using gvim
depends on the kind of spelling mistake.

If you want try my full colorsheme, installation instructions &
screenshot are at:

 http://www.vim.org/scripts/script.php?script_id=2198

-- Regards

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to