You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.editorconfig 689B

12345678910111213141516171819202122232425262728
  1. # EditorConfig configuration for nixpkgs
  2. # http://EditorConfig.org
  3. # Top-most EditorConfig file
  4. root = true
  5. # Unix-style newlines with a newline ending every file, utf-8 charset
  6. [*]
  7. end_of_line = lf
  8. insert_final_newline = true
  9. trim_trailing_whitespace = true
  10. charset = utf-8
  11. # see https://nixos.org/nixpkgs/manual/#chap-conventions
  12. # Match nix/ruby/docbook files, set indent to spaces with width of two
  13. [*.{nix,rb,xml}]
  14. indent_style = space
  15. indent_size = 2
  16. # Match shell/python/perl scripts, set indent to spaces with width of four
  17. [*.{sh,py,pl}]
  18. indent_style = space
  19. indent_size = 4
  20. # Match diffs, avoid to trim trailing whitespace
  21. [*.{diff,patch}]
  22. trim_trailing_whitespace = false