hanschen / vim-ipython-cell

Seamlessly run Python code in IPython from Vim
GNU General Public License v3.0
331 stars 18 forks source link

Do not send tag to ipython #14

Closed flaport closed 3 years ago

flaport commented 3 years ago

Hi,

I was experimenting today with vim-ipython-cell and configured it to also work with markdown code-cells (typically marked with three backticks ```).

However, I noticed vim-ipython-cell sends the tag over to ipython, which obviously throws a syntaxerror if three backticks are used as a cell delimiter...

This is quite easily solved. See for example how I did it in this pull request.

I personally think this minor change could be valuable, but feel free to decline the pull request if you feel otherwise.

hanschen commented 3 years ago

Sounds reasonable, I've merged your pull request. Thanks for you contribution!