diff --git a/nvim/.config/nvim/after/ftplugin/systemd.lua b/nvim/.config/nvim/after/ftplugin/systemd.lua new file mode 100644 index 0000000..6d197de --- /dev/null +++ b/nvim/.config/nvim/after/ftplugin/systemd.lua @@ -0,0 +1,6 @@ +vim.api.nvim_create_autocmd({ "BufWritePost" }, { + buffer = 0, + callback = function() + require("lint").try_lint() + end, +})