1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00
dotfiles/.config/helix/languages.toml

57 lines
1.2 KiB
TOML
Raw Normal View History

2023-07-27 14:28:00 +00:00
[language-server.rust-analyzer.config]
check.command = "clippy"
2022-12-24 21:48:05 +00:00
[[language]]
name = "rust"
2023-08-17 22:03:39 +00:00
roots = ["Cargo.toml"]
[language.auto-pairs]
'(' = ')'
'{' = '}'
'[' = ']'
'"' = '"'
'`' = '`'
'<' = '>'
2022-12-24 21:48:05 +00:00
2022-11-06 14:05:47 +00:00
[[language]]
name = "python"
roots = ["pyproject.toml"]
formatter = { command = "black", args = ["-q", "-"] }
2022-11-08 16:56:02 +00:00
auto-format = true
2022-11-06 14:05:47 +00:00
2022-11-08 16:56:02 +00:00
[[language]]
name = "markdown"
2023-08-17 22:06:15 +00:00
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "md"] }
2022-11-06 14:05:47 +00:00
auto-format = true
[[language]]
2022-11-08 16:56:02 +00:00
name = "json"
2023-08-17 22:06:15 +00:00
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "json"] }
2022-11-06 14:05:47 +00:00
auto-format = true
2023-07-27 14:28:53 +00:00
[[language]]
name = "toml"
2023-08-17 22:06:15 +00:00
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "toml"] }
2022-12-01 02:52:30 +00:00
auto-format = true
2022-11-08 16:56:02 +00:00
[[language]]
name = "html"
2023-08-17 22:06:15 +00:00
formatter = { command = "djlint", args = ["--reformat", "--quiet", "--configuration", "/home/mo8it/.config/djlintrc.json", "-"] }
2022-11-08 16:56:02 +00:00
auto-format = true
2022-12-17 15:17:40 +00:00
2022-11-08 16:56:02 +00:00
[[language]]
name = "julia"
auto-format = true
2023-10-23 15:07:47 +00:00
[language-server.typescript-language-server]
command = "npx"
args = ["typescript-language-server", "--stdio"]
config.hostInfo = "helix"
[[language]]
name = "javascript"
auto-format = true
[[language]]
name = "typescript"
auto-format = true