diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-26 01:34:17 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-26 01:34:17 +0000 |
commit | e2d1bb1fa4850c8212a7cdbd76a92634a1115453 (patch) | |
tree | cb9de8c3af8331f9941840ca42712234ba83711d /.editorconfig | |
parent | 23a8183bea8dda2d7528b57f2e0c8bc31162db3e (diff) |
add exceptions for indenting conventions for files related to regular expressions
Ruby uses the Oniguruma/Onigmo regular expression engine, including the underlying
character encoding framework. In contrast to other code implementing Ruby, the
regular expression engine related code is formatted with two spaces per indent
level. This commit adds rules for these files. (The commit may not completely cover
all related files.) [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig index cb2729fff9..e8bb00b588 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,6 +11,12 @@ trim_trailing_whitespace = true [*.bat] end_of_line = crlf +[reg*] +indent_size = 2 + +[enc/*] +indent_size = 2 + [*.gemspec] indent_size = 2 |