fix(swift): disabled auto-format & added .swift-format highlighting

pull/11948/merge
Elizabeth 6 days ago committed by Michael Davis
parent 56bb366f7e
commit d95b21ddd3

@ -464,6 +464,7 @@ file-types = [
"avsc", "avsc",
"ldtk", "ldtk",
"ldtkl", "ldtkl",
{ glob = ".swift-format" },
] ]
language-servers = [ "vscode-json-language-server" ] language-servers = [ "vscode-json-language-server" ]
auto-format = true auto-format = true
@ -1984,7 +1985,6 @@ roots = [ "Package.swift" ]
comment-token = "//" comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" } block-comment-tokens = { start = "/*", end = "*/" }
formatter = { command = "swift-format" } formatter = { command = "swift-format" }
auto-format = true
language-servers = [ "sourcekit-lsp" ] language-servers = [ "sourcekit-lsp" ]
[[grammar]] [[grammar]]

Loading…
Cancel
Save