mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 19:07:44 +03:00
fix(swift): disabled auto-format & added .swift-format highlighting
This commit is contained in:
parent
56bb366f7e
commit
d95b21ddd3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue