use indentation consistent with codemirror settings