mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 12:14:51 +00:00
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
34 lines
385 B
INI
34 lines
385 B
INI
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
indent_size = 4
|
|
indent_style = space
|
|
insert_final_newline = true
|
|
tab_width = 8
|
|
trim_trailing_whitespace = true
|
|
|
|
[*.bat]
|
|
end_of_line = crlf
|
|
|
|
[reg*]
|
|
indent_size = 2
|
|
|
|
[enc/*]
|
|
indent_size = 2
|
|
|
|
[*.gemspec]
|
|
indent_size = 2
|
|
|
|
[*.rb]
|
|
indent_size = 2
|
|
|
|
[*.yml]
|
|
indent_size = 2
|
|
|
|
[{*[Mm]akefile*,*.mak,*.mk,depend}]
|
|
indent_style = tab
|
|
|
|
[reg*.[ch]]
|
|
indent_size = 2
|