On 17/06/09 22:00, Charles Campbell wrote:
>
> J. F. Mitre wrote:
>>
>>
>> I use:
>>
>> set textwidth=80
>> au BufNewFile,BufRead  * exec 'match Error /\%>' .&textwidth . 'v.\+/'
>>
>> You can use your pre-defined "rightMargin" instead "Error"
>> Regards,
>> J. F. Mitre
> The problem is that the rightMargin highlighting becomes undefined when
> new buffers with supported syntax are loaded due to their typical "syn
> clear".  "Error" is a standard highlighting group, so colorschemes are
> supposed to support it and so effectively it doesn't disappear.
>
> Regards,
> Chip Campbell

One solution would be (J.F.) to write your own colorscheme, which 
doesn't have to be very complicated (the "default" colorscheme, 
distributed with Vim, doesn't include any explicit ":highlight" 
command), with a ":hi" definition for that particular highlight group.


Best regards,
Tony.
-- 
American business long ago gave up on demanding that prospective
employees be honest and hardworking.  It has even stopped hoping for
employees who are educated enough that they can tell the difference
between the men's room and the women's room without having little
pictures on the doors.
                -- Dave Barry, "Urine Trouble, Mister"

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

Reply via email to