Closed blueyed closed 8 years ago
Could you please explain your PR. What are these s:UNSET_* vars. Where are they set?
The s:UNSET_*
vars are sentinel instances to be able to "unlet" lists/strings (by setting them to this value), since apparently Vim does not support unlet
for another buffer without side-effects of :bufdo
/ :b
.
This PR fixes an issue where the cache was not used correctly, and provides an API to clear it. This is useful for statusline plugins etc.
I still don't see, where this vars are ever set.
Ok, now I understand.
Previously calling
quickfixsigns#vcsdiff#GetList()
would not set the cache.Also add a
quickfixsigns#vcsdiff#ClearCache()
API.