Copy DenoRun
in your init.vim
.
When you run :DenoRun
in Deno script file, deno run
will be started the terminal window.
If the name of the file is match with Deno test files, deno test
will be started instead of deno run
.
It automatically add -A --no-check --unstable --watch
for productivity.
Use this only in your own files for your security.
This works only in Neovim, not Vim, because Vim has different terminal API.
There is an article about this in Japanese: https://zenn.dev/kawarimidoll/articles/0ff5d28fa584d6
Now superseded by deno-dex!
See: https://github.com/kawarimidoll/deno-dex#vimneovim-command