1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-17 11:30:02 +02:00

nvim/lua/user/plugins/ide/lsp.lua: move markdown conf to lang/markdown

This commit is contained in:
Henrik Hautakoski 2025-05-13 23:32:59 +02:00
parent 6b1dcffbd6
commit 39401d14ff
2 changed files with 14 additions and 24 deletions

View file

@ -127,30 +127,6 @@ return {
dependencies = {
{ "williamboman/mason-lspconfig.nvim", version = "^1.0.0", config = function () end }
}
},
-- 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 = options,