refactor yasnippet config