From 653d660cd289d825b1aec0f499d80b7f7cf1b9d0 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Tue, 6 Jun 2023 18:41:50 -0400 Subject: [PATCH] helix rust env --- README.md | 1 + data/personal.toml | 1 + home/private_dot_config/helix/config.toml | 2 +- home/private_dot_config/helix/languages.toml | 5 +++++ 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 home/private_dot_config/helix/languages.toml diff --git a/README.md b/README.md index efbb864..f3d6dd9 100644 --- a/README.md +++ b/README.md @@ -68,4 +68,5 @@ sudo ./miniconda.sh -b -u -p /opt/miniconda3 - steermouse (license in email): btn4==fwd, btn5==bck - rust (don't use a package manager for this) + - rust-analyzer (`rustup component add rust-analyzer`) - gwar (`git clone ssh://git@pingo.thermokar.st/gwar && cd gwar && cargo build --release && cp target/release/gwar ~/bin`) diff --git a/data/personal.toml b/data/personal.toml index c428f65..cd9bbe2 100644 --- a/data/personal.toml +++ b/data/personal.toml @@ -14,6 +14,7 @@ repos = [ "gwar", "notes", "pingo", + "rlox", ] remotes = [] diff --git a/home/private_dot_config/helix/config.toml b/home/private_dot_config/helix/config.toml index 5e4a4f5..d3cb5e5 100644 --- a/home/private_dot_config/helix/config.toml +++ b/home/private_dot_config/helix/config.toml @@ -1,4 +1,4 @@ -theme = "meliora" +theme = "base16_default" [editor.file-picker] hidden = false diff --git a/home/private_dot_config/helix/languages.toml b/home/private_dot_config/helix/languages.toml new file mode 100644 index 0000000..fab76e5 --- /dev/null +++ b/home/private_dot_config/helix/languages.toml @@ -0,0 +1,5 @@ +[[language]] +name = "rust" + +[language-server.rust-analyzer.config.check] +command = "clippy"