Closed jtojnar closed 6 years ago
I'm not familiar with how ST handles that, is it a quick change that you can make via PR?
Or perhaps you could make this optional: https://github.com/GhostText/GhostText-for-SublimeText/commit/6ac2b75bf73767d9a59e7dbfb66c838489f78645, which from what I understand will make ST ask you if you want to save it, every time.
I am not that familiar with sublime plugin development but AutoBackups seem to check for filename so not setting scratch probably won’t be enough.
I don't think this can ever work with AutoBackups then, even if the filename was set, it's not really saved anywhere. Scratch is what makes ST let you close the window without saving and eventually I think that's what would benefit you.
Perhaps try loading GhostText for ST locally and delete that line.
I just lost some text I was writing since yesterday. Could you associate the buffer with a file so that AutoBackups can track it?