Closed karamellpelle closed 6 years ago
I think it's because ~
isn't supported by filereadable
(it'll work if you enter the file's dereferenced path); I'll submit a PR to work around this.
Fixed in 98976ad2a0342784740db27e4353be892c8a2053.
Pulled into my vim git repository and works well! Thank you
I've set the persistent file in my vimrc:
After writing to the scratch (
gs
, write,<Esc>
), and after closing vim, the scratch file has the correct content. When I restart vim, my scratch file is still correct. When starting a scratch withgs
the scratch window is empty. But the scratch file is still correct. The scratch file becomes different is just when the scratch window is closed, i.e. escaping insert mode.Do you know what's going on?