imbue-ai / jupyter_ascending.vim

Vim plugin to interact with jupyter_ascending
MIT License
168 stars 16 forks source link

fix line_number in jupyter_ascending#execute (because vim starts at 1) #15

Open axel-angel opened 2 years ago

axel-angel commented 2 years ago

I noticed a bug when I execute the line just before the next cell (with # %%) and I remember vim line numbering starts at 1 not 0. So this must be a bug right? All ascend python code assumes we start at 0. Thoughts?

zplizzi commented 1 year ago

We recently fixed a numbering bug in the main jupyter_ascending repo - I'm guessing that was the problem here and not vim's numbering, but could be wrong.