fix snippets to expand in visual mode