mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
Compare commits
2 Commits
fbc3c5725b
...
81256273e3
Author | SHA1 | Date | |
---|---|---|---|
|
81256273e3 | ||
|
c6e81c37e2 |
@ -732,6 +732,7 @@ shebangs = ["node"]
|
|||||||
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]
|
||||||
@ -759,6 +760,7 @@ file-types = ["jsx"]
|
|||||||
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"
|
||||||
|
|
||||||
@ -772,6 +774,7 @@ shebangs = ["deno", "bun", "ts-node"]
|
|||||||
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]]
|
||||||
@ -804,6 +807,7 @@ file-types = ["tsx"]
|
|||||||
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]]
|
||||||
@ -861,6 +865,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 = " " }
|
||||||
|
|
||||||
@ -1324,6 +1329,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]]
|
||||||
@ -1777,6 +1783,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]]
|
||||||
@ -3763,6 +3770,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"
|
||||||
|
|
||||||
@ -3787,6 +3795,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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user