mirror of
https://github.com/fred-drake/neovim.git
synced 2026-06-05 14:59:28 -05:00
29 lines
670 B
Nix
29 lines
670 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"; };
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
};
|
|
}
|