plugins/nvim-lsp: Update rust-analyzer settings (#263)

This commit is contained in:
traxys 2023-03-16 11:19:34 +01:00 committed by GitHub
parent c6fa30b81c
commit 6544e32396
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 248 additions and 26 deletions

View file

@ -103,12 +103,11 @@
src = pkgs.rust-analyzer.src;
nativeBuildInputs = with pkgs; [extractRustAnalyzerPkg alejandra nixpkgs-fmt];
nativeBuildInputs = with pkgs; [extractRustAnalyzerPkg alejandra];
buildPhase = ''
extract_rust_analyzer.py editors/code/package.json |
alejandra --quiet |
nixpkgs-fmt > rust-analyzer-config.nix
alejandra --quiet > rust-analyzer-config.nix
'';
installPhase = ''