X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/c6800e0c659eba5b22190bf6ae0ba563a4170661..59acf8af38a72e57b26d739adb5d5e7f350e8f2c:/autoload/black.vim?ds=inline diff --git a/autoload/black.vim b/autoload/black.vim index 6c381b4..ed657be 100644 --- a/autoload/black.vim +++ b/autoload/black.vim @@ -158,9 +158,9 @@ def Black(**kwargs): ) except black.NothingChanged: if not quiet: - print(f'Already well formatted, good job. (took {time.time() - start:.4f}s)') + print(f'Black: already well formatted, good job. (took {time.time() - start:.4f}s)') except Exception as exc: - print(exc) + print(f'Black: {exc}') else: current_buffer = vim.current.window.buffer cursors = [] @@ -177,7 +177,7 @@ def Black(**kwargs): except vim.error: window.cursor = (len(window.buffer), 0) if not quiet: - print(f'Reformatted in {time.time() - start:.4f}s.') + print(f'Black: reformatted in {time.time() - start:.4f}s.') def get_configs(): filename = vim.eval("@%")