Skip to content

Commit

Permalink
fix(nvim): Tweak enabled Rust LSP inlay hints
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Aug 10, 2023
1 parent 0ff1507 commit e11fb49
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nvim/lua/my/lsp/rust.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ return {
},
inlayHints = {
bindingModeHints = { enable = true },
closureReturnTypeHints = { enable = true },
lifetimeElisionHints = { enable = true },
reborrowHints = { enable = true },
closureReturnTypeHints = { enable = 'always' },
discriminantHints = { enable = 'always' },
},
diagnostics = {
disabled = { 'inactive-code', 'unresolved-proc-macro' },
Expand Down

0 comments on commit e11fb49

Please sign in to comment.