mirror of
https://github.com/pnx/dotfiles
synced 2026-06-18 03:50:03 +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"
|
"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 = {
|
opts = {
|
||||||
document_highlight = {
|
document_highlight = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue