nvim: after/ftplugin/systemd: Lint systemd files on save

This commit is contained in:
Sanchayan Maity 2024-11-03 16:07:40 +05:30
parent 6afc6f90dd
commit 9075d7b321
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -0,0 +1,6 @@
vim.api.nvim_create_autocmd({ "BufWritePost" }, {
buffer = 0,
callback = function()
require("lint").try_lint()
end,
})