mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-12-27 01:01:05 +00:00
56 lines
1.2 KiB
TOML
56 lines
1.2 KiB
TOML
[language-server.rust-analyzer.config]
|
|
check.command = "clippy"
|
|
|
|
[[language]]
|
|
name = "rust"
|
|
roots = ["Cargo.toml"]
|
|
[language.auto-pairs]
|
|
'(' = ')'
|
|
'{' = '}'
|
|
'[' = ']'
|
|
'"' = '"'
|
|
'`' = '`'
|
|
'<' = '>'
|
|
|
|
[[language]]
|
|
name = "python"
|
|
roots = ["pyproject.toml"]
|
|
formatter = { command = "black", args = ["-q", "-"] }
|
|
auto-format = true
|
|
|
|
[[language]]
|
|
name = "markdown"
|
|
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "md"] }
|
|
auto-format = true
|
|
|
|
[[language]]
|
|
name = "json"
|
|
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "json"] }
|
|
auto-format = true
|
|
|
|
[[language]]
|
|
name = "toml"
|
|
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "toml"] }
|
|
auto-format = true
|
|
|
|
[[language]]
|
|
name = "html"
|
|
formatter = { command = "djlint", args = ["--reformat", "--quiet", "--configuration", "/home/mo8it/.config/djlintrc.json", "-"] }
|
|
auto-format = true
|
|
|
|
[[language]]
|
|
name = "julia"
|
|
auto-format = true
|
|
|
|
[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
|