fix linum in developer modes

should just make linum global and fix this everywhere