Title: [271945] trunk
Revision
271945
Author
[email protected]
Date
2021-01-27 04:12:29 -0800 (Wed, 27 Jan 2021)

Log Message

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

Patch by Angelos Oikonomopoulos <[email protected]> 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:

Modified Paths

Diff

Modified: trunk/.dir-locals.el (271944 => 271945)


--- trunk/.dir-locals.el	2021-01-27 11:41:20 UTC (rev 271944)
+++ trunk/.dir-locals.el	2021-01-27 12:12:29 UTC (rev 271945)
@@ -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)))

Modified: trunk/.editorconfig (271944 => 271945)


--- trunk/.editorconfig	2021-01-27 11:41:20 UTC (rev 271944)
+++ trunk/.editorconfig	2021-01-27 12:12:29 UTC (rev 271945)
@@ -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

Modified: trunk/ChangeLog (271944 => 271945)


--- trunk/ChangeLog	2021-01-27 11:41:20 UTC (rev 271944)
+++ trunk/ChangeLog	2021-01-27 12:12:29 UTC (rev 271945)
@@ -1,3 +1,16 @@
+2021-01-27  Angelos Oikonomopoulos  <[email protected]>
+
+        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  <[email protected]>
 
         [JSC] Allow to build WebAssembly without B3
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to