mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 11:24:55 +02:00
nvim: lsp: make sure to install a markdown renderer.
This commit is contained in:
parent
55a4798866
commit
112b646bd4
1 changed files with 24 additions and 0 deletions
|
|
@ -10,6 +10,30 @@ return {
|
|||
"hrsh7th/cmp-nvim-lsp-signature-help"
|
||||
},
|
||||
},
|
||||
-- LSP often return markdown that neovim parses.
|
||||
-- make sure we have a plugin that can render markdown to nicer text
|
||||
{
|
||||
'MeanderingProgrammer/render-markdown.nvim',
|
||||
dependencies = {
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = {
|
||||
ensure_installed = { "markdown", "markdown_inline" }
|
||||
}
|
||||
}
|
||||
},
|
||||
opts = {
|
||||
overrides = {
|
||||
buftype = {
|
||||
-- LSP Hover = "nofile"
|
||||
nofile = {
|
||||
code = { left_pad = 0, right_pad = 0 },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
opts = {
|
||||
document_highlight = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue