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

58 lines
1.5 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
2022-12-01 02:52:30 +00:00
[[language]]
name = "javascript"
2023-08-17 22:06:15 +00:00
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "js"] }
2023-07-27 14:28:53 +00:00
auto-format = true
[[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
2023-03-25 12:59:09 +00:00
# language-server = { language-id = "html", command = "tailwindcss-language-server", args = ["--stdio"] }
# roots = ["tailwind.config.js"]
# config = {}
# [[language]]
# name = "css"
# language-server = { language-id = "css", command = "tailwindcss-language-server", args = ["--stdio"] }
# roots = ["tailwind.config.js"]
# config = {}
2022-12-17 15:17:40 +00:00
2022-11-08 16:56:02 +00:00
[[language]]
name = "julia"
auto-format = true