Skip to content

Configuring vim-notebook for node #5

Description

@jonahx

I've tried the following configuration:

" attempt at node
let g:notebook_cmd = 'NODE_DISABLE_COLORS=1 node'
let g:notebook_stop = "process.exit()"
let g:notebook_send0 = ""
let g:notebook_send = "'VIMNODENOTEBOOK'"
let g:notebook_detect = "'VIMNODENOTEBOOK'"

Note that the final two lines reflect the fact that node echoes back quotes when literal strings are entered:

Node REPL

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions