mirror of
https://github.com/fred-drake/neovim.git
synced 2026-06-05 23:09:26 -05:00
29 lines
742 B
Nix
29 lines
742 B
Nix
{pkgs, ...}: {
|
|
plugins = {
|
|
conform-nvim = {
|
|
enable = true;
|
|
settings = {formatters_by_ft.rust = ["rustfmt"];};
|
|
};
|
|
rustaceanvim = {
|
|
enable = true;
|
|
settings = {
|
|
dap.adapter = {
|
|
command = "${pkgs.lldb_19}/bin/lldb-dap";
|
|
type = "executable";
|
|
};
|
|
tools.enable_clippy = true;
|
|
server = {
|
|
default_settings = {
|
|
inlayHints = {lifetimeElisionHints = {enable = "always";};};
|
|
rust-analyzer = {
|
|
cargo = {allFeatures = true;};
|
|
check = {command = "clippy";};
|
|
files = {excludeDirs = ["target" ".git" ".cargo" ".github" ".direnv"];};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|