This commit is contained in:
Kyra 2024-11-21 00:32:14 +00:00 committed by GitHub
commit fbc3c5725b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -750,6 +750,7 @@ roots = [ "package.json" ]
comment-token = "//" comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" } block-comment-tokens = { start = "/*", end = "*/" }
language-servers = [ "typescript-language-server" ] language-servers = [ "typescript-language-server" ]
formatter = { command = "biome", args = ["format"] }
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }
[language.debugger] [language.debugger]
@ -778,6 +779,7 @@ roots = [ "package.json" ]
comment-token = "//" comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" } block-comment-tokens = { start = "/*", end = "*/" }
language-servers = [ "typescript-language-server" ] language-servers = [ "typescript-language-server" ]
formatter = { command = "biome", args = ["format"] }
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }
grammar = "javascript" grammar = "javascript"
@ -792,6 +794,7 @@ roots = [ "package.json", "tsconfig.json" ]
comment-token = "//" comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" } block-comment-tokens = { start = "/*", end = "*/" }
language-servers = [ "typescript-language-server" ] language-servers = [ "typescript-language-server" ]
formatter = { command = "biome", args = ["format"] }
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }
[[grammar]] [[grammar]]
@ -825,6 +828,7 @@ roots = [ "package.json", "tsconfig.json" ]
comment-token = "//" comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" } block-comment-tokens = { start = "/*", end = "*/" }
language-servers = [ "typescript-language-server" ] language-servers = [ "typescript-language-server" ]
formatter = { command = "biome", args = ["format"] }
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }
[[grammar]] [[grammar]]
@ -882,6 +886,7 @@ shebangs = ["python"]
roots = ["pyproject.toml", "setup.py", "poetry.lock", "pyrightconfig.json"] roots = ["pyproject.toml", "setup.py", "poetry.lock", "pyrightconfig.json"]
comment-token = "#" comment-token = "#"
language-servers = ["ruff", "jedi", "pylsp"] language-servers = ["ruff", "jedi", "pylsp"]
formatter = { command = "black", args = ["-"]}
# TODO: pyls needs utf-8 offsets # TODO: pyls needs utf-8 offsets
indent = { tab-width = 4, unit = " " } indent = { tab-width = 4, unit = " " }
@ -1354,6 +1359,7 @@ roots = ["Setup.hs", "stack.yaml", "cabal.project"]
comment-token = "--" comment-token = "--"
block-comment-tokens = { start = "{-", end = "-}" } block-comment-tokens = { start = "{-", end = "-}" }
language-servers = [ "haskell-language-server" ] language-servers = [ "haskell-language-server" ]
formatter = { command = "ormolu" }
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }
[[grammar]] [[grammar]]
@ -1807,6 +1813,7 @@ auto-format = true
comment-token = "--" comment-token = "--"
block-comment-tokens = { start = "{-", end = "-}" } block-comment-tokens = { start = "{-", end = "-}" }
language-servers = [ "elm-language-server" ] language-servers = [ "elm-language-server" ]
formatter = { command = "elm-format", args = ["--stdin"] }
indent = { tab-width = 4, unit = " " } indent = { tab-width = 4, unit = " " }
[[grammar]] [[grammar]]
@ -3793,6 +3800,7 @@ language-servers = [
"vscode-eslint-language-server", "vscode-eslint-language-server",
"ember-language-server", "ember-language-server",
] ]
formatter = { command = "biome", args = ["format"] }
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }
grammar = "javascript" grammar = "javascript"
@ -3817,6 +3825,7 @@ language-servers = [
"vscode-eslint-language-server", "vscode-eslint-language-server",
"ember-language-server", "ember-language-server",
] ]
formatter = { command = "biome", args = ["format"] }
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }
grammar = "typescript" grammar = "typescript"