config yasnipet as minor mode hook to prog-mode