Skip to content

Commit

Permalink
fix(nvim): Fix rust LSP inlay hints
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Sep 5, 2023
1 parent 114878e commit 2bf0005
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions home-manager/modules/nvim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ in {
fzf
cargo
cargo-nextest
clippy
glow
];
};
Expand Down
1 change: 1 addition & 0 deletions nvim/lua/my/lsp/rust.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ return {
bindingModeHints = { enable = true },
closureReturnTypeHints = { enable = 'always' },
discriminantHints = { enable = 'always' },
parameterHints = { enable = true },
},
diagnostics = {
disabled = { 'inactive-code', 'unresolved-proc-macro' },
Expand Down

0 comments on commit 2bf0005

Please sign in to comment.