When I'm using Vim, I can execute bash or node.js files by using
:%terminal bash or
:%terminal node... I like to execute them like this inside Vim because it works in an interactive way, so I can see what's happening while the process is being executed. However, on NeoVim I didn't manage to make this same command work. If I try using these commands I receive the error
E481: No range allowed...
On Neovim documentation I found a different syntax for using the terminal on NeoVim... I think the solution to my problem is something related to
term:// but I didn't manage to make it work. What is the equivalent command to
:% terminal bash on NeoVim?