mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-07-01 23:19:25 +00:00
[neovim] Use md-lsp instead of marksman
This commit is contained in:
@ -8,7 +8,7 @@ local servers = {
|
||||
"jdtls",
|
||||
"jsonls",
|
||||
"lua_ls",
|
||||
"marksman",
|
||||
-- "marksman",
|
||||
"basedpyright",
|
||||
"ruff",
|
||||
"terraformls",
|
||||
@ -52,3 +52,15 @@ 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({})
|
||||
|
Reference in New Issue
Block a user