add markdown formatting

This commit is contained in:
Kasper Juul Hermansen 2022-10-10 22:15:54 +02:00
parent 5e86242fd3
commit f7b6dd262d
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -9,15 +9,15 @@ function M.setup(options)
-- nls.builtins.formatting.prettierd,
nls.builtins.formatting.stylua,
nls.builtins.formatting.fish_indent,
-- nls.builtins.formatting.fixjson.with({ filetypes = { "jsonc" } }),
nls.builtins.formatting.fixjson.with({ filetypes = { "jsonc" } }),
-- nls.builtins.formatting.eslint_d,
-- nls.builtins.diagnostics.shellcheck,
--nls.builtins.formatting.shfmt,
--nls.builtins.diagnostics.markdownlint,
-- nls.builtins.formatting.deno_fmt.with({
-- filetypes = { "markdown" }, -- only runs `deno fmt` for markdown
-- }),
-- nls.builtins.diagnostics.selene,
nls.builtins.formatting.shfmt,
nls.builtins.diagnostics.markdownlint,
nls.builtins.formatting.deno_fmt.with({
filetypes = { "markdown" }, -- only runs `deno fmt` for markdown
}),
nls.builtins.diagnostics.selene,
-- nls.builtins.code_actions.gitsigns,
},
on_attach = options.on_attach,