mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-12 09:51:11 +01:00
eca6f0b46c
go fmt uses tabs instead of spaces, so we might as well format our code the same way.
24 lines
384 B
INI
24 lines
384 B
INI
root = true
|
|
|
|
# Use 2 spaces for indentation by default
|
|
[*]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
indent_size = 2
|
|
indent_style = space
|
|
trim_trailing_whitespace = true
|
|
|
|
# Use tab indentation (with size 4) for the following files
|
|
[Makefile]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
|
|
[*.html]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
|
|
[*.go]
|
|
indent_style = tab
|
|
indent_size = 4
|