The plugin keeps the current file open, at least if the file has more than 1000 lines. This keeps the file from beeing changed on Windows platform e.g. by git checkout branch.
I think changing the method freeze_last_version to
with codecs.open(file_name, "r", "utf-8") as f:
on_disk = f.read().splitlines()
would solve the issue (I'm no python guy).
Another question: The method on_activated is defined twice. Is this by purpose?
The plugin keeps the current file open, at least if the file has more than 1000 lines. This keeps the file from beeing changed on Windows platform e.g. by git checkout branch.
I think changing the method freeze_last_version to
would solve the issue (I'm no python guy).
Another question: The method on_activated is defined twice. Is this by purpose?