fix: update rust-tools to make it play nice with ra

This commit is contained in:
buffet 2023-01-11 16:55:23 +01:00
parent 53d66ee6e6
commit 3c5a986507
3 changed files with 25 additions and 1 deletions

View file

@ -128,7 +128,24 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"impermanence": "impermanence", "impermanence": "impermanence",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nur": "nur" "nur": "nur",
"rust-tools-nvim": "rust-tools-nvim"
}
},
"rust-tools-nvim": {
"flake": false,
"locked": {
"lastModified": 1673136837,
"narHash": "sha256-+/kK6MU2EiSBFbfqQJwLkJICXZpf8oiShbcvsls3V8A=",
"owner": "simrat39",
"repo": "rust-tools.nvim",
"rev": "df584e84393ef255f5b8cbd709677d6a3a5bf42f",
"type": "github"
},
"original": {
"owner": "simrat39",
"repo": "rust-tools.nvim",
"type": "github"
} }
}, },
"utils": { "utils": {

View file

@ -23,6 +23,12 @@
url = "github:nix-community/home-manager/release-22.11"; url = "github:nix-community/home-manager/release-22.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# work around for nixpkgs version being too old
rust-tools-nvim = {
url = "github:simrat39/rust-tools.nvim";
flake = false;
};
}; };
outputs = {nixpkgs, ...} @ args: { outputs = {nixpkgs, ...} @ args: {

View file

@ -23,6 +23,7 @@
plugins = buildPlugins [ plugins = buildPlugins [
"cmp-conventionalcommits" "cmp-conventionalcommits"
"cmp-git" "cmp-git"
"rust-tools-nvim"
]; ];
in in
with pkgs.vimPlugins; with pkgs.vimPlugins;