From 43ffddb7e5b7e943bc0c2243e9a26b62446a8208 Mon Sep 17 00:00:00 2001 From: WeetHet Date: Wed, 9 Oct 2024 17:17:09 +0300 Subject: [PATCH] Set tab size to 2, reformat --- languages/scala/config.toml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/languages/scala/config.toml b/languages/scala/config.toml index 4c3cde4..a283ab3 100644 --- a/languages/scala/config.toml +++ b/languages/scala/config.toml @@ -3,14 +3,27 @@ grammar = "scala" path_suffixes = ["scala", "sbt", "sc"] line_comments = ["// "] autoclose_before = ";:.,=}])" +tab_size = 2 brackets = [ { start = "{", end = "}", close = true, newline = true }, { start = "[", end = "]", close = true, newline = true }, { start = "(", end = ")", close = true, newline = true }, - { start = "\"", end = "\"", close = true, newline = false, not_in = ["comment", "string"] }, - { start = "'", end = "'", close = true, newline = false, not_in = ["comment", "string"] }, - { start = "`", end = "`", close = true, newline = false, not_in = ["comment", "string"] }, - { start = "/*", end = " */", close = true, newline = false, not_in = ["comment", "string"] } + { start = "\"", end = "\"", close = true, newline = false, not_in = [ + "comment", + "string", + ] }, + { start = "'", end = "'", close = true, newline = false, not_in = [ + "comment", + "string", + ] }, + { start = "`", end = "`", close = true, newline = false, not_in = [ + "comment", + "string", + ] }, + { start = "/*", end = " */", close = true, newline = false, not_in = [ + "comment", + "string", + ] }, ] collapsed_placeholder = " /* ... */ " scope_opt_in_language_servers = ["tailwindcss-language-server"]