Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Set ruby-indent-level to 4
https://bugs.webkit.org/show_bug.cgi?id=220982

Patch by Angelos Oikonomopoulos <angelos@igalia.com> on 2021-01-27
Reviewed by Fujii Hironori.

All the ruby source files seem to default to 4 as the indent
level; make it official.

* .dir-locals.el:
* .editorconfig:

Canonical link: https://commits.webkit.org/233391@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271945 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
aoikonomopoulos authored and webkit-commit-queue committed Jan 27, 2021
1 parent 7a63857 commit e297cd3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .dir-locals.el
Expand Up @@ -11,5 +11,7 @@
(java-mode
(indent-tabs-mode . nil)
(c-basic-offset . 4))
(ruby-mode
(ruby-indent-level . 4))
(change-log-mode
(indent-tabs-mode . nil)))
2 changes: 1 addition & 1 deletion .editorconfig
@@ -1,6 +1,6 @@
# Editor configuration, see http://editorconfig.org

[*.{c,cpp,h}]
[*.{c,cpp,h,rb}]
indent_style = space
indent_size = 4
tab_width = 4
Expand Down
13 changes: 13 additions & 0 deletions ChangeLog
@@ -1,3 +1,16 @@
2021-01-27 Angelos Oikonomopoulos <angelos@igalia.com>

Set ruby-indent-level to 4
https://bugs.webkit.org/show_bug.cgi?id=220982

Reviewed by Fujii Hironori.

All the ruby source files seem to default to 4 as the indent
level; make it official.

* .dir-locals.el:
* .editorconfig:

2021-01-23 Xan Lopez <xan@igalia.com>

[JSC] Allow to build WebAssembly without B3
Expand Down

0 comments on commit e297cd3

Please sign in to comment.