minor updates to snippets and documentations

fixes for various indentation settings
fixed `then` snippet rendering an extra }