szymonmaszke / vimpyter

Edit your Jupyter notebooks in Vim/Neovim
MIT License
334 stars 17 forks source link

When I `:enew`, then `:w test.ipynb`, will get this error #22

Closed Freed-Wu closed 3 years ago

Freed-Wu commented 4 years ago
|| "test.ipynb" [New] 0L, 0C written
|| Error detected while processing function
|| vimpyter#updateNotebook[43]
|| <SNR>175_updateNotebookVim[11]
|| E121: Undefined variable: b:proxy_file
|| E15: Invalid expression: [&shell, &shellcmdflag, 'notedown --from markdown --to notebook ' . b:proxy_file . ' > ' . b:original_file]
|| line   12:
|| E121: Undefined variable: l:command
|| E116: Invalid arguments for function job_start( l:command, {'exit_cb': function('s:updateSuccessVim')})
|| E15: Invalid expression: job_start( l:command, {'exit_cb': function('s:updateSuccessVim')})

Windows OS 10 gvim8.1

If directly :e test.ipynb will not get this error.

Thank you!