From f517327441f1f394ecfdadfd10cd82f5b5136ef5 Mon Sep 17 00:00:00 2001 From: hophacker Date: Sun, 13 Mar 2022 00:19:49 +0800 Subject: [PATCH] feat: use rubocop fix ruby, auto format on save --- SpaceVim.d/init.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SpaceVim.d/init.toml b/SpaceVim.d/init.toml index cc0354d..9425c2c 100644 --- a/SpaceVim.d/init.toml +++ b/SpaceVim.d/init.toml @@ -51,6 +51,8 @@ default_height = 30 [[layers]] name = "lang#ruby" +format_on_save = true +enabled_linters = ['rubocop'] [[layers]] name = "denite" @@ -95,6 +97,7 @@ name = "lang#swift" [[layers]] name = "format" +auto_fix = true format_on_save = true [[layers]]