0

Why when I open a bracket in python jump to next level This happen:

this is wrong.

and I want this:

like javascript

Ingo Karkat
  • 167,457
  • 16
  • 250
  • 324
Roberbnd
  • 1
  • 2
  • 2
    In Vim a lot is influenced by configuration and keys pressed. So what exactly must be done to reproduce this? – Ingo Karkat Sep 11 '18 at 14:08
  • If you want remove your configuration just open a file ".py" type python – Roberbnd Sep 11 '18 at 19:45
  • 1
    1.: type: { 2: type: } 3: move your cursor between the brackets and press Enter – Roberbnd Sep 11 '18 at 19:47
  • I can reproduce this, too. It also happens with a proper Python dictionary definition (see https://stackoverflow.com/questions/9197324/what-is-the-meaning-of-curly-braces). It's caused by the indent script, maintained by Bram itself; it has to config setting to affect this. Is that the recommended coding style for dicts? – Ingo Karkat Sep 12 '18 at 06:49

0 Answers0