-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuring vim-notebook for node #5
Comments
Hi, thank you for your interest; using it with Node actually is a good idea. I will have a look at it very soon unless you solve it before me. Most of the time issues are fixed by wrapping the main program in some |
I got working settings though a little hacky. First, try to launch it with
because the prompt is merged with the output. Please, let me know if you get something working. Maybe there is a way to disable the prompt, which would be cleaner. |
Thanks. I got it working with that, but it still outputs the prompt, and, perhaps more difficult to address, it outputs the result of every line, including variable assignments. Probably what you want is for only Also, if you do any node dev yourself, I just discovered this, which looks promising (though has the drawback of not existing within vim itself): https://runkit.com |
I've tried the following configuration:
Note that the final two lines reflect the fact that node echoes back quotes when literal strings are entered:
However, when I
:NotebookStart
, vim just hangs and needs to be killed. Do you know the correct settings for node? If not, any tips for debugging or what I might attempt to make it work?Thanks!
The text was updated successfully, but these errors were encountered: