From 1651cdf03c09d0ddb4c2182025d20a3052ce1110 Mon Sep 17 00:00:00 2001 From: Vitaly Slobodin Date: Wed, 15 May 2024 20:07:00 +0200 Subject: [PATCH] ruby: Use two spaces per indentation level (#11869) Hello, this pull request changes the indentation level for Ruby language from 2 spaces to the most used setting in the Ruby world: 2 spaces per indentation level. This setting is mentioned in the [Ruby style guide from the Rubocop (Ruby linter and formatter) team](https://rubystyle.guide/#spaces-indentation) and/or in another popular Rubocop configuration tool - [`standardrb`](https://github.com/standardrb/standard/blob/main/config/base.yml#L233) Thanks! Release Notes: - N/A --- extensions/ruby/languages/ruby/config.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/ruby/languages/ruby/config.toml b/extensions/ruby/languages/ruby/config.toml index e0e6091e6afab287a19bfeaf060596a188524a70..369f3beaadbcfef24d315e0be6705a5a11a4c179 100644 --- a/extensions/ruby/languages/ruby/config.toml +++ b/extensions/ruby/languages/ruby/config.toml @@ -38,3 +38,4 @@ brackets = [ ] }, ] collapsed_placeholder = "# ..." +tab_size = 2