mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
NeoVIM
- Formatting for: added yaml, configured markdown with new configuration file, prettierd configuration updates for bracketsSameLine - Linting: added dockerfile, markdown
This commit is contained in:
@@ -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" }, {
|
||||
|
||||
Reference in New Issue
Block a user