Disable render-markdown in vim.lsp.buf.hover #267
|
render-markdown adds code background on vim.lsp.buf.hover(shift + k), is it possible to disable it effecting vim.lsp.buf.hover? |
Answered by
MeanderingProgrammer
Dec 23, 2024
Replies: 2 comments 3 replies
|
You can disable the plugin using a To disable: require('render-markdown').setup({
overrides = {
buftype = {
nofile = { enabled = false },
},
},
})To change code block background highlight: require('render-markdown').setup({
overrides = {
buftype = {
nofile = { code = { highlight = 'SOME_CLEAR_HIGHLIGHT_GROUP' } },
},
},
}) |
1 reply
Answer selected by
MeanderingProgrammer
|
The |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

You can disable the plugin using a
buftypeoverride or you can change the background highlight associated with code blocks for hover docs.To disable:
To change code block background highlight: