summaryrefslogtreecommitdiffstats
path: root/helix/.config/helix/languages.toml
diff options
context:
space:
mode:
Diffstat (limited to 'helix/.config/helix/languages.toml')
-rw-r--r--helix/.config/helix/languages.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/helix/.config/helix/languages.toml b/helix/.config/helix/languages.toml
new file mode 100644
index 0000000..98c9fc2
--- /dev/null
+++ b/helix/.config/helix/languages.toml
@@ -0,0 +1,14 @@
+[language-server.rust-analyzer]
+command = "ra-multiplex"
+config = { checkOnSave = { command = "clippy" }, cargo = { allFeatures = true }, diagnostics = { disabled = ["inactive-code"] } }
+
+[[language]]
+name = "python"
+language-servers = ["pyright"]
+formatter = { command = "black", args = ["--target-version=py311", "--quiet", "-"] }
+auto-format = true
+
+[language-server.pyright]
+command = "pyright-langserver"
+args = ["--stdio"]
+config = {}