We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2377390 commit 2034811Copy full SHA for 2034811
init.lua
@@ -518,6 +518,14 @@ require('lazy').setup({
518
callback = vim.lsp.buf.clear_references,
519
})
520
end
521
+
522
+ -- The following autocommand is used to enable inlay hints in your
523
+ -- code, if the language server you are using supports them
524
+ --
525
+ -- This may be unwanted, since they displace some of your code
526
+ if client and client.server_capabilities.inlayHintProvider and vim.lsp.inlay_hint then
527
+ vim.lsp.inlay_hint.enable(event.buf, true)
528
+ end
529
end,
530
531
0 commit comments