Closed radix closed 10 years ago
This appears to be a bug in the codemirror python mode, when there's a paren after the cursor. The same thing happens here if you load the python mode: http://codemirror.net/demo/loadmode.html
It only seems to happen in the case where there's a paren directly after the cursor though. Should probably file a bug against CM.
I see! I hadn't noticed it only happened when the close-paren follows the cursor. I've filed https://github.com/marijnh/CodeMirror/issues/2607
Closing as the suggested behavior wasn't accepted upstream. @radix If there is a reasonable way forward for this, let me know and I can reopen.
I'm not certain that it's the fault of this plugin, but I recently updated LightTable to 0.6.6 and noticed a regression in indentation of Python code.
Previously, when I would type:
my cursor would be directly below the "a". In 0.6.6 it's placed directly below the "(".