Remove leading dots from snippets, thanks @matthewlein