Rust: Difference between revisions
imported>Mic92 correct quotes |
imported>Nyarly No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Languages]] | |||
This article is about the [https://www.rust-lang.org rust programming language]. | This article is about the [https://www.rust-lang.org rust programming language]. | ||
Revision as of 20:35, 3 March 2018
This article is about the rust programming language.
Rust Nightlies
Either use rust overlay or rustup to get install rust nightlies.
Neovim Completion
Racer completion can be configured using the following snippet:
(neovim.override {
configure = {
customRC = ''
if filereadable($HOME . "/.vimrc")
source ~/.vimrc
endif
let $RUST_SRC_PATH = '${stdenv.mkDerivation {
inherit (rustc) src;
inherit (rustc.src) name;
phases = ["unpackPhase" "installPhase"];
installPhase = "cp -r src $out";
}}'
'';
packages.nixbundle.start = with vimPlugins; [
nvim-completion-manager
nvim-cm-racer
];
};
})