SciRuby / iruby

Official gem repository: Ruby kernel for Jupyter/IPython Notebook
https://github.com/SciRuby/iruby
MIT License
890 stars 27 forks source link

Autoindent not working properly in Jupyter-lab notebook #334

Closed nmingotti closed 8 months ago

nmingotti commented 8 months ago

Hi, I just re-installed a few days ago Jupyter-lab via Pip, iruby as well, so I suppose it is all at the leatest release. This test shows the misbehaviour. Its give the same results preformed in both in Firefox-ESR and Chormium in Linux/Debian.

class C1
    def m1()
        nil
        end
    end

# it is performing badly also on simple methods
def m2()
    nil
    end

In the Jupyter console indentation is correct. Do you know how to fix this ? I am not sure if the problem is in iruby or in jupyter-lab.

nmingotti commented 8 months ago

no, sorry, my bad in configurations