mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-03 21:53:26 +01:00
eca6f0b46c
go fmt uses tabs instead of spaces, so we might as well format our code the same way. |
||
---|---|---|
.. | ||
.editorconfig | ||
README.md |
editorconfig
editorconfig is the standard tool for editing consistency between editors.
Use Cases
editorconfig can be used to:
- Finally forget about whether spaces or tabs are being used; editorconfig will handle this automatically for you
- Share the same indentation settings in all the editors you and your colleagues use
You should not use editorconfig if:
- You should use editorconfig.
Usage
If you use my .vimrc
or code config, editorconfig is already applied.