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? |
Beta Was this translation helpful? Give feedback.
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' } },
},
},
}) |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
You can disable the plugin using a
buftype
override or you can change the background highlight associated with code blocks for hover docs.To disable:
To change code block background highlight: