Documenting issues with sign unplacing

This commit is contained in:
Strahinja Val Markovic 2014-01-10 14:44:15 -08:00
parent 9d06a3e54c
commit 46cf9734e8

View File

@ -107,7 +107,12 @@ def GetBufferFilepath( buffer_object ):
return os.path.join( os.getcwd(), str( buffer_object.number ) )
# TODO: only unplace our signs, not all signs
# NOTE: This unplaces *all* signs in a buffer, not just the ones we placed. We
# used to track which signs we ended up placing and would then only unplace
# ours, but that causes flickering Vim since we have to call
# sign unplace <id> buffer=<buffer-num>
# in a loop. So we're forced to unplace all signs, which might conflict with
# other Vim plugins.
def UnplaceAllSignsInBuffer( buffer_number ):
if buffer_number < 0:
return