1
0
forked from extern/nix-config
donovanglover-nix-config/editorconfig/.editorconfig
Donovan Glover eca6f0b46c
editorconfig: Use standard formatting for go
go fmt uses tabs instead of spaces, so we might as well format our code
the same way.
2022-06-04 07:36:06 -04:00

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