Improved a comment.

This commit is contained in:
Holger Rapp 2014-02-10 22:07:40 +01:00
parent 7c9d0c0c71
commit d0c4f31c1f

View File

@ -37,9 +37,9 @@ class VimState(object):
def remember_unnamed_register(self, text_to_expect): def remember_unnamed_register(self, text_to_expect):
"""Save the unnamed register. 'text_to_expect' is text that we expect """Save the unnamed register. 'text_to_expect' is text that we expect
to be currently contained in the register - this could be text from the to be contained in the register the next time this method is called -
tabstop that was selected and might have been overwritten. We will not this could be text from the tabstop that was selected and might have
cash that then.""" been overwritten. We will not cash that then."""
self._unnamed_reg_cached = True self._unnamed_reg_cached = True
unnamed_reg = _vim.eval('@"') unnamed_reg = _vim.eval('@"')
if unnamed_reg != self._text_to_expect: if unnamed_reg != self._text_to_expect: