add clang_format option and fix folding setting