New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding inlay_hints since neovim 0.10+ supports it #4509
Comments
Sorry to ask of you, could you guide me full content you wrote into where / what files in detail? local lspconfig = require('lspconfig') // Example for 'clangd', replace with your LSP server as necessary // Automatically refresh inlay hints vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter", "TabEnter", "TextChanged", "InsertLeave"}, { Error Messages are these below... |
I believe it should be in common_on_attach function on line 63 some where within that function. LunarVim/lua/lvim/lsp/init.lua Line 63 in 9ee3b7b
Similar what is in Launch.nvim |
This comment was marked as outdated.
This comment was marked as outdated.
just keeping it alive :) |
We can take a vote whether this should be opt-in or not, since not all the servers have useful info to display, but it's definitely a nice feature! |
at least we need to give an option to user to enable or disable. But if we dont have it in lvim source , the user will not have that option unless they tweak the lvim code. |
Feature Description
Hi
Since inlay_hints is supported by neovim 0.10.+ there should be inlay_hints, toogle and enable/disable inlay_hints .
maybe something like this can be added to on_attach function
Also a custom function to toogle it can be added to which_key lsp menu and a way to enable/disable using lvim builtins or lvim.lsp.inlay_hints.enable = true/false for users to easily set it
Describe the alternatives you have considered
No response
Support information
No response
The text was updated successfully, but these errors were encountered: