diff --git a/home-manager/modules/nvim.nix b/home-manager/modules/nvim.nix index 907fc31f..643d0421 100644 --- a/home-manager/modules/nvim.nix +++ b/home-manager/modules/nvim.nix @@ -106,6 +106,7 @@ in { fzf cargo cargo-nextest + clippy glow ]; }; diff --git a/nvim/lua/my/lsp/rust.lua b/nvim/lua/my/lsp/rust.lua index d28de8ff..a685c1b3 100644 --- a/nvim/lua/my/lsp/rust.lua +++ b/nvim/lua/my/lsp/rust.lua @@ -27,6 +27,7 @@ return { bindingModeHints = { enable = true }, closureReturnTypeHints = { enable = 'always' }, discriminantHints = { enable = 'always' }, + parameterHints = { enable = true }, }, diagnostics = { disabled = { 'inactive-code', 'unresolved-proc-macro' },