root = true [*] charset = utf-8 end_of_line = lf indent_size = 4 indent_style = space insert_final_newline = true max_line_length = 80 trim_trailing_whitespace = true # C/C++ [*.{c,cc,cpp,cxx,h,hh,hpp,hxx,ixx}] indent_size = 4 indent_style = tab # Go [*.go] indent_size = 4 indent_style = tab # Python [*.py] indent_size = 4 indent_style = space max_line_length = 72 # Haskell [*.hs] indent_size = 2 indent_style = space # Lisp(s) [*.{lisp,cl,rkt,scm,el}] indent_size = 2 indent_style = space # Zig [*.zig] indent_size = 4 indent_style = tab # Assembly [*.{asm,s}] indent_size = 4 indent_style = tab # GNU Cringetools [configure.ac] indent_size = 4 indent_style = tab # Make [{Makefile*,*.mk}] indent_size = 4 indent_style = tab # CMake [{CMakeLists.txt,*.cmake}] indent_size = 8 indent_style = tab # Nix [*.nix] indent_size = 2 indent_style = space # HCL [*.{tf,hcl}] indent_size = 2 indent_style = space # JSON [*.json] indent_size = 2 indent_style = space # YAML [*.{yaml,yml}] indent_size = 2 indent_style = space # TOML [*.{toml,tml}] indent_size = 4 indent_style = space # Markup [*.{html,xml}] indent_size = 4 indent_style = tab # (La)TeX [*.{tex,cls}] indent_size = 4 indent_style = tab