"Desktop/scratch.js" 323L, 10027C written
[vim-hooks] Could not execute script ./scratch.js because it does not have "execute" permissions.
Set executable bit (chmod u+x) [yn]?
[vim-hooks] Running chmod u+x ./scratch.js
:!chmod u+x ./scratch.js
chmod: ./scratch.js: No such file or directory
shell returned 1
[vim-hooks] Could not execute script ./scratch.js because it does not have "execute" permissions.
vim ~/Desktop/scratch.js:CreateSelfHook BufWritePostchmod u+x ./scratch.jswhen it should be runningchmod u+x ~/Desktop/scratch.js. It fails because./scratch.jsdoesn't exist