nyarly / cadre

The gang at your back while you code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coverage auto-sourcing

nyarly opened this issue · comments

Per a suggestion to Simplecov-Vim by @zph:

Reload coverage files (ideally) when they're changed. This happens already when a buffer is loaded into a window (so switching buffers is enough to do this) but without switching there's no way to reload the marks.

Maybe an aucmd on CursorHold and CursorHoldI?

Hi there, I am now quite sure about it but what about sending remote command ?
http://vimdoc.sourceforge.net/htmldoc/remote.html#--remote-send

That's an option. It would mean that you'd have to run vim as an edit server, and we'd have to figure out how to find the appropriate vim. One benefit of vim that plays against us here is its flexibility. For instance, I know many people run one gvim per project with tabs, but I use a few vims in tmux, and I'm sure there's way more variation than that.