-
Notifications
You must be signed in to change notification settings - Fork 49
help: How to disable Backtick in signature help window #326
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
Comments
Do you use a plugin for signature help (if so which one) or is this the builtin one? By default I believe the signature help window is in markdown format and this plugin will render it, but since the code block / language is not being rendered in your screenshot that does not appear to be the case. |
@MeanderingProgrammer I use this config for overloads provided by Issafalcon/lsp-overloads.nvim. The documentation states that it extends the built-in Neovim LSP signature helper. if client.server_capabilities.signatureHelpProvider then
require("lsp-overloads").setup(client, {
display_automatically = true,
ui = {
border = { " ", "", " ", " ", " ", "", " ", " " },
},
})
vim.keymap.set({ "n", "i" }, "<C-n>", "<cmd>LspOverloadsSignature<CR>",
{ desc = "Ctrl + n - show signature help with overloads (if they are present)", buffer = buffer })
else
vim.keymap.set({ "n", "i" }, "<C-n>", vim.lsp.buf.signature_help,
{ desc = "Ctrl + n - show signature help", buffer = buffer })
end Also, I think I should provide a screenshot where I disabled the markdown plugin. |
## Details Issue: #326 When triggering LSP hover docs / signature help in insert mode this plugin will attach to the buffer but since we're in insert mode it will display the raw view instead of the rendered view. By setting the `render_modes` to `true` now the doc buffers will always be in the rendered state.
Ah I see the issue. This happens when you trigger the LSP docs in insert mode. So this plugin attaches to the buffer, but by default in insert mode we don't render, so you'll get the un-rendered view of a markdown file. I updated the default to always render LSP docs here: 17a7746 Please update and LMK if this is what you were looking for! |
@MeanderingProgrammer Yes, it solved my problem. I just updated the plugin. Thank you so much! |
Neovim version (nvim -v)
0.10.0
Neovim distribution
N/a
Description
How to disable Backtick in the signature help window . It happens just when plugin is turned on.
My setup
The text was updated successfully, but these errors were encountered: