revert: 78640d2
'refactor(nvim): remove nvim-lint
'
This commit is contained in:
parent
b88575d180
commit
17830b7c0d
16
dots/.config/nvim/lua/plugins/configs/nvim-lint.lua
Normal file
16
dots/.config/nvim/lua/plugins/configs/nvim-lint.lua
Normal file
@ -0,0 +1,16 @@
|
||||
return {
|
||||
{
|
||||
"mfussenegger/nvim-lint",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = function()
|
||||
require("lint").linters_by_ft = {
|
||||
markdown = { "proselint" },
|
||||
}
|
||||
vim.api.nvim_create_autocmd({ "BufWritePost", "BufEnter" }, {
|
||||
callback = function()
|
||||
require("lint").try_lint()
|
||||
end,
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue
Block a user