vim-codefmt icon indicating copy to clipboard operation
vim-codefmt copied to clipboard

Add maktaba logging for whenever codefmt modifies buffer

Open dbarnett opened this issue 10 years ago • 0 comments

It would be useful to log an info message whenever codefmt triggers and modifies the buffer, especially for cases where it triggers automatically on save.

It should be possible to verify whether the buffer was actually changed by checking b:changedtick before and after running the formatter so we can avoid logging a message if the formatter had no effect.

dbarnett avatar Jan 24 '15 07:01 dbarnett