baruchel / vim-notebook

A plugin for the Vim editor for handling any interpreter in a Notebook style
MIT License
95 stars 7 forks source link

"Current line is not a Markdown code block" #4

Closed jonahx closed 7 years ago

jonahx commented 7 years ago

Hi,

I'm trying to get the J kernel running on vim 8.0 on a Mac. I've installed the script and copied the J config lines to my .vimrc:

let g:notebook_cmd = '/Applications/j64-804/bin/jconsole'
let g:notebook_stop = "exit ''"
let g:notebook_send0="''"
let g:notebook_send = "'VIMJNOTEBOOK'"
let g:notebook_detect = '   VIMJNOTEBOOK'

After I run :NotebookStart, I do :NotebookEvaluate and get "Current line is not a Markdown code block". But it is, in fact, a line of code indented 4 spaces. I've also tried putting code gates around it -- I still get the same message.

Any help is appreciated... I really love the idea of this plugin. Thanks!

jonahx commented 7 years ago

I had installed an alternative, long-forgotten markdown syntax file in the syntax folder. I deleted it and now it works.