Thanks, a lot. You are a Genius. Brillant answer and very, very fast. Gracias compadre. Hans
2009/2/25, Charles Campbell <[email protected]>: > > > L~4dPd ·dSdf0D wrote: > > Hi, I'm a programmer and I alwas type code with: */_syntax off _/*due > > I have headache if the Color syntax is set "On". > > Is there any way to set color only in the current line. > > > > One more thing: ¿how to disable de color in the " ~ "character. > > Thanks. Hans > I tried using "Normal" but that doesn't seem to cause the desired > override. So, you're likely to want to change the "Nrml" highlighting > colors to whatever you want. I've set them here to green on black. > > hi Nrml ctermfg=green ctermbg=black guifg=green guibg=black > match Nrml /^\%(\%(\%#\)\...@!.\)*$/ > > For the ~ character (presumably you mean the not-text indicators): > > hi link NonText Ignore > > should do the trick. > > Regards, > Chip Campbell > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
