It would be nice to have a way to automatically run the check command when a file is saved. I have a rudimentary version of this working for me locally.
I do this by having a compiler plugin defined for hledger which runs the check command. I trigger make on file write by using an autocmd which then loads up any errors in the quickfix list
Open to discussing ideas on how to make this more general and include it with this plugin. I think it needs to allow the user to:
It would be nice to have a way to automatically run the
check
command when a file is saved. I have a rudimentary version of this working for me locally.I do this by having a
compiler
plugin defined for hledger which runs thecheck
command. I triggermake
on file write by using anautocmd
which then loads up any errors in thequickfix
listOpen to discussing ideas on how to make this more general and include it with this plugin. I think it needs to allow the user to: