Skip to content

Commit

Permalink
Set tab size to 2, reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
WeetHet committed Oct 9, 2024
1 parent b8ae0d4 commit 43ffddb
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions languages/scala/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 43ffddb

Please sign in to comment.