fix opening bracket bug
Improve indentation when pressing enter
Merge pull request #126 from preynal/master

Fix bug and improve indentation.