On Tue, Jan 13, 2009 at 8:50 AM, Tony Mechelynck wrote:
>
> On 12/01/09 19:16, Andy Wokula wrote:
>>
>> Matt Wozniski schrieb:
>>> Well, using synIDattr() you should be able to get all the information
>>
>> which needs a {synID}, provided by
>>      :h hlID()
>>
>> maybe (GUI only):
>
> P.S. Not only will it only work in the GUI, it will not restore bold,
> italic, underline, undercurl and guisp= (Mine does, and I could easily
> add the hlgroup argument).

The code in CSApprox works in GUI and in terminal vim (with the caveat
that the Cursor highlight group isn't used in terminal vim,of course),
avoids using :redir, and handles all attributes.

~Matt

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

Reply via email to