Merge branch 'fix-lsp-helix' into 'master'

Fix LSP in helix

See merge request redox-os/kernel!218
This commit is contained in:
Jeremy Soller
2023-06-10 12:18:52 +00:00
2 changed files with 15 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
[editor]
auto-format = false
+13
View File
@@ -0,0 +1,13 @@
[[language]]
name = "rust"
[[language.config.cargo]]
extraEnv = ["RUST_TARGET_PATH=targets"]
# Select one of targets to make lsp work for your confguration
# Do not commit this change
# TODO: find a better way to do this
# target = "aarch64-unknown-kernel"
[[language.config.check]]
targets = ["x86_64-unknown-kernel", "i686-unknown-kernel", "aarch64-unknown-kernel"]