I'm using this to avoid seeing the indicator when working on non-python stuff and other projects where it's just irrelevant noise. Maybe it's useful for someone else too (if not please close).
(I don't quite like the add-hooks on load here, feels like they should happen on turning on pyvenv-mode, but then we should also run the hook in all currently-open buffers of those modes. Or maybe there's a nicer way?)
I'm using this to avoid seeing the indicator when working on non-python stuff and other projects where it's just irrelevant noise. Maybe it's useful for someone else too (if not please close).
(I don't quite like the
add-hooks
on load here, feels like they should happen on turning on pyvenv-mode, but then we should also run the hook in all currently-open buffers of those modes. Or maybe there's a nicer way?)