mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-10 09:50:28 +08:00
.editorconfig: indent css with spaces
We already do in doc/style.css, but we should tell our editors and
formatters, too.
The comment.. doesn't really make sense, it's purely repetitive with the
code itself. Thus, removed.
(cherry picked from commit 08c315672d)
This commit is contained in:
@@ -23,8 +23,7 @@ insert_final_newline = false
|
||||
|
||||
# see https://nixos.org/nixpkgs/manual/#chap-conventions
|
||||
|
||||
# Match json/lockfiles/markdown/nix/perl/python/ruby/shell/docbook files, set indent to spaces
|
||||
[*.{bash,js,json,lock,md,nix,pl,pm,py,rb,sh,xml}]
|
||||
[*.{bash,css,js,json,lock,md,nix,pl,pm,py,rb,sh,xml}]
|
||||
indent_style = space
|
||||
|
||||
# Match docbook files, set indent width of one
|
||||
|
||||
Reference in New Issue
Block a user