summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.helix/languages.toml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.helix/languages.toml b/.helix/languages.toml
index d5eb182..359654b 100644
--- a/.helix/languages.toml
+++ b/.helix/languages.toml
@@ -1,8 +1,10 @@
+[language-server.rust-analyzer]
+command = "rust-analyzer"
+environment = { "DATABASE_URL" = "postgres://pinussy:pinussy@localhost/pinussy" }
+config = { cargo.features = "all" }
+
[[language]]
name = "rust"
-config = { cargo.features = "all" }
-language-server.command = "rust-analyzer"
-language-server.environment = { "DATABASE_URL" = "postgres://pinussy:pinussy@localhost/pinussy" }
file-types = ["rs", "html"]
[[language]]