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

59 lines
1.5 KiB
TOML
Raw Normal View History

2022-12-24 21:48:05 +00:00
[[language]]
name = "rust"
language-server = { command = "rust-analyzer", args = ["-q"] }
2022-12-24 21:48:05 +00:00
auto-format = true
2023-04-19 12:11:26 +00:00
roots = ["Cargo.toml"]
2023-01-22 13:41:55 +00:00
[language.config.checkOnSave]
command = "clippy"
[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
[[language]]
name = "bash"
2022-11-08 16:56:02 +00:00
formatter = { command = "beautysh", args=["-"] }
auto-format = true
[[language]]
name = "markdown"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.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"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.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"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.config/dprint.json", "--stdin", "js" ] }
auto-format = true
2022-11-08 16:56:02 +00:00
[[language]]
name = "html"
2023-02-26 18:57:25 +00:00
formatter = { command = "djlint", args = ["--reformat", "--quiet", "--configuration", "/home/mo/.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