mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
Correct Neovim 0.10 inlay hints config example
This commit is contained in:
parent
83ba420431
commit
2cc2521996
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
lspconfig.rust_analyzer.setup({
|
||||||
on_attach = function(client, bufnr)
|
on_attach = function(client, bufnr)
|
||||||
vim.lsp.inlay_hint.enable(bufnr)
|
vim.lsp.inlay_hint.enable(true, { bufnr = bufnr })
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
----
|
----
|
||||||
|
|
Loading…
Reference in a new issue