Friday, July 6, 2012

Removing specific highlight group

Want to remove a user-defined highlight group by its name.

Now
:highlight clear
"Removes all highlighting for groups added by the user!"
and
:highlight clear {group-name}
"Disable the highlighting for one highlight group."
But what I want is to completely remove a specific
highlight by name freeing up
the associated storage.
I assume if I create 1000 highlight definitions, it uses
memory, so I'd like to be able to free up that memory
after the highlights are no longer needed.

Thanks

Richard
--
Quis custodiet ipsos custodes

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment