diff --git a/.helix/config.toml b/.helix/config.toml new file mode 100644 index 0000000000000000000000000000000000000000..a1ec3e0a6a8ca60f66942a461b9161656c312144 --- /dev/null +++ b/.helix/config.toml @@ -0,0 +1,2 @@ +[editor] +auto-format = false diff --git a/.helix/languages.toml b/.helix/languages.toml new file mode 100644 index 0000000000000000000000000000000000000000..2b887fb54e177c9b46e6a34a615e9037e63ea908 --- /dev/null +++ b/.helix/languages.toml @@ -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"] +