tomtom / quickfixsigns_vim

Mark quickfix & location list items with signs
http://www.vim.org/scripts/script.php?script_id=2584
GNU General Public License v3.0
131 stars 13 forks source link

Clear buffer markers - don't toggle plugin #21

Closed chazy closed 12 years ago

chazy commented 12 years ago

Hi,

thanks again for a great plugin.

Question: If you just want to clear the current markers until you perform some action that will change the quickfix buffer (grep, make, etc.), what is the way (if any) to do so?

Thanks! -Christoffer

chazy commented 12 years ago

never mind,

:call setqflist([])

seems to do the trick.

tomtom commented 12 years ago

Am 2012-07-07 22:31, schrieb Christoffer Dall:

Question: If you just want to clear the current markers until you perform some action that will change the quickfix buffer (grep, make, etc.), what is the way (if any) to do so? It shouldn't be necessary. You could either empty the qfl (see :help :cexpr or :help setqfl()) or, to immediatly see the result, call QuickfixsignsClear("qfl").

HTH