{ pkgs, ... }: { plugins = { lsp.servers.rust-analyzer = { enable = true; # Flip these in case rust is installed systemvise installRustc = false; installCargo = false; settings.completion.callable.snippets = "add_parentheses"; }; lint = { lintersByFt = { rust = [ "cargo" ]; }; linters = { cargo = { cmd = "${pkgs.rustfmt}/bin/cargo-fmt"; }; }; }; }; }