Skip to content

Commit

Permalink
Correct Neovim 0.10 inlay hints config example
Browse files Browse the repository at this point in the history
  • Loading branch information
adaszko authored May 17, 2024
1 parent 83ba420 commit 2cc2521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user/manual.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ If you're running Neovim 0.10 or later, you can enable inlay hints via `on_attac
----
lspconfig.rust_analyzer.setup({
on_attach = function(client, bufnr)
vim.lsp.inlay_hint.enable(bufnr)
vim.lsp.inlay_hint.enable(true, { bufnr = bufnr })
end
})
----
Expand Down

0 comments on commit 2cc2521

Please sign in to comment.