[#11]: Disable mdformat

This commit is contained in:
2023-10-10 13:43:44 +03:00
parent 20908fe39e
commit 18f05ac6ec

View File

@@ -4,31 +4,33 @@ return {
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, {
-- See https://xaked.com/xaked/nvim/issues/9
-- "marksman",
"mdformat",
"marksman",
-- TODO: remove when fixed
-- See https://xaked.com/xaked/nvim/issues/11
-- "mdformat",
})
end,
},
{
"nvimtools/none-ls.nvim",
opts = function(_, opts)
local nls = require("null-ls")
opts.sources = opts.sources or {}
vim.list_extend(opts.sources, {
nls.builtins.formatting.mdformat,
})
end,
},
-- See https://xaked.com/xaked/nvim/issues/9
-- TODO: remove when fixed
-- See https://xaked.com/xaked/nvim/issues/11
-- {
-- "neovim/nvim-lspconfig",
-- opts = {
-- servers = {
-- marksman = {},
-- },
-- },
-- "nvimtools/none-ls.nvim",
-- opts = function(_, opts)
-- local nls = require("null-ls")
-- opts.sources = opts.sources or {}
-- vim.list_extend(opts.sources, {
-- nls.builtins.formatting.mdformat,
-- })
-- end,
-- },
{
"neovim/nvim-lspconfig",
opts = {
servers = {
marksman = {},
},
},
},
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)