aboutsummaryrefslogtreecommitdiffstats
path: root/.helix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.helix/languages.toml14
1 files changed, 12 insertions, 2 deletions
diff --git a/.helix/languages.toml b/.helix/languages.toml
index 8be248f..6e3ac7b 100644
--- a/.helix/languages.toml
+++ b/.helix/languages.toml
@@ -1,4 +1,14 @@
+# SPDX-FileCopyrightText: 2025 cel <cel@bunny.garden>
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
[language-server.rust-analyzer]
command = "rust-analyzer"
-environment = { "DATABASE_URL" = "sqlite://filamento/filamento.db" }
-config = { cargo.features = ["stanza/rfc_6121", "stanza/xep_0203", "stanza/xep_0030", "stanza/xep_0060", "stanza/xep_0172", "stanza/xep_0390", "stanza/xep_0128", "stanza/xep_0115", "stanza/xep_0084", "sqlx/sqlite", "sqlx/runtime-tokio", "sqlx/uuid", "sqlx/chrono", "jid/sqlx", "uuid/v4", "tokio/full", "rsasl/provider_base64", "rsasl/plain", "rsasl/config_builder", "rsasl/scram-sha-1"] }
+# environment = { "DATABASE_URL" = "sqlite://filamento/filamento.db" }
+ # checkOnSave.overrideCommand = "cargo check --message-format=json -p luz",
+ # check.overrideCommand="cargo check --message-format=json -p luz",
+ # check.workspace = false,
+ # cargo.target = "wasm32-unknown-unknown",
+# config = { cargo.target = "wasm32-unknown-unknown" }
+config = { cargo.target = "wasm32-unknown-unknown", cargo.features = ["jid/rusqlite", "stanza/rfc_6121", "stanza/xep_0203", "stanza/rfc_7395", "stanza/xep_0030", "stanza/xep_0060", "stanza/xep_0172", "stanza/xep_0390", "stanza/xep_0128", "stanza/xep_0115", "stanza/xep_0084", "uuid/v4", "tokio/full", "rsasl/provider_base64", "rsasl/plain", "rsasl/config_builder", "rsasl/scram-sha-1", "stanza/xep_0156", "stanza/xep_0297", "stanza/xep_0280", "stanza/xep_0334"] }
+# "sqlx/sqlite", "sqlx/runtime-tokio", "sqlx/uuid", "sqlx/chrono", "jid/sqlx",