[#6]: Add shellcheck, reformat structure

This commit is contained in:
2023-10-05 11:22:21 +03:00
parent e39f897f8d
commit 176a3526f7
7 changed files with 86 additions and 43 deletions

View File

@@ -0,0 +1,41 @@
return {
{
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, {
"marksman",
"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,
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
marksman = {},
},
},
},
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, {
"markdown",
"markdown_inline",
})
end
end,
},
}