1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-02-22 08:38:00 +00:00

[neovim] Remove md-lsp and restore former markdown plugins/lsp

This commit is contained in:
Daniel Carrillo 2025-02-14 15:57:37 +01:00
parent e6f9e2b916
commit b8fcf02379
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
3 changed files with 5 additions and 14 deletions

View File

@ -17,4 +17,3 @@ Neovim conf heavily adapted to suit my needs, formerly based on LunarVim's [basi
* revive
* tree-sitter-cli
* Optional for copilotchat: `sudo luarocks install --lua-version 5.1 tiktoken_core`
* [md-lsp](https://github.com/matkrin/md-lsp.git)

View File

@ -263,6 +263,10 @@ require("lazy").setup({
name = "render-markdown",
version = "v7",
},
{ "mzlogin/vim-markdown-toc" },
{
"jghauser/follow-md-links.nvim",
},
-- Copilot
{

View File

@ -8,7 +8,7 @@ local servers = {
"jdtls",
"jsonls",
"lua_ls",
-- "marksman",
"marksman",
"basedpyright",
"ruff",
"terraformls",
@ -52,15 +52,3 @@ for _, server in pairs(servers) do
lspconfig[server].setup(opts)
end
end
local configs = require("lspconfig.configs")
configs.md_lsp = {
default_config = {
name = "md-lsp",
cmd = { "md-lsp" },
filetypes = { "markdown" },
root_dir = lspconfig.util.root_pattern(".git"),
single_file_support = true,
},
}
lspconfig.md_lsp.setup({})