erikpukinskis / write-code

type simple javascript into the browser
0 stars 0 forks source link

Cursor behavior with function literals #3

Open erikpukinskis opened 6 years ago

erikpukinskis commented 6 years ago

If we defined a function literal, or we have a function literal as the last arg to a function call, the cursor will be at the level of the literal (usually either indentation 1 or 2)