Hello,

It is possible to save/restore highlight settings in a plugin?

In general, the logic for regular option is:
    (1) save the option: (for example: let s:saved_cpo=&cpo)
    (2) set the option for plugin only (for example: set cpo&vim)
        " do whatever within plugin
    (3) restore the option  (for example, let &cpo=s:saved_cpo)

The highlight setting seems special. What is the step (1) and (2) for
highlight setting?
     (1) save highlight option  (How ?)
     (2) highlight lCursor guibg=green
     (3) restore highlight option  (How ?)


Thanks

Sean

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

Reply via email to