- Formatting for: added yaml, configured markdown with new configuration
  file, prettierd configuration updates for bracketsSameLine
- Linting: added dockerfile, markdown
This commit is contained in:
Pratik Tripathy
2024-03-17 17:31:37 +05:30
parent 074d1ca987
commit 42d75df1f1
5 changed files with 87 additions and 3 deletions

View File

@@ -19,9 +19,17 @@ return {
javascript = { "codespell" },
typescriptreact = { "codespell" },
javascriptreact = { "codespell" },
dockerfile = { "hadolint" },
html = { "codespell" },
}
local markdownlint = lint.linters.markdownlint
markdownlint.args = {
"--config",
"~/.config/templates/markdownlint.json",
"--",
}
local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, {