diff options
author | aszlig <aszlig@nix.build> | 2024-03-25 12:02:25 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2024-03-25 12:12:35 +0100 |
commit | c6a817b36d3ece8e7e9c50a3fb36f4bdfe8557c2 (patch) | |
tree | bc7394ed18625d89941d0fcbed47379f32f12f5b | |
parent | ed98f10190876557a0f0fd0d3c91f9745d34d911 (diff) |
vim: Remove setting g:rustc_path
Having a fallback rustc executable in my Vim closure at all times looked like a good idea in the first place, but since g:rustc_path is only used for things like :RustRun it is of very limited use (only for standalone Rust files). I had exactly *zero* uses for that since I introduced it, so there is really no need to bloat the closure size for something I don't use. Signed-off-by: aszlig <aszlig@nix.build>
-rw-r--r-- | pkgs/aszlig/vim/default.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/aszlig/vim/default.nix b/pkgs/aszlig/vim/default.nix index 641c39ea..a303d625 100644 --- a/pkgs/aszlig/vim/default.nix +++ b/pkgs/aszlig/vim/default.nix @@ -1,6 +1,6 @@ { stdenv, lib, fetchurl, fetchFromGitHub, writeText, writeTextFile, writeScript , runCommand, writers, python3Packages, ledger, meson, vim, buildGoPackage -, rustc, rustfmt, ansifilter +, rustfmt, ansifilter }: let @@ -601,9 +601,6 @@ let \ ['full_hex', 'rgb', 'rgba', 'hsl', 'hsla'] " rust - if !executable('rustc') - let g:rustc_path = '${rustc}/bin/rustc' - endif let g:rustfmt_command = '${rustfmt.override { asNightly = true; }}/bin/rustfmt' |