Skip to content

Commit

Permalink
Merge pull request #26 from WHForks/tab-size
Browse files Browse the repository at this point in the history
Set tab size to 2, reformat config.toml
  • Loading branch information
tgodzik authored Oct 9, 2024
2 parents b8ae0d4 + 43ffddb commit 1e2bf5c
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 1e2bf5c

Please sign in to comment.