uniformisation for snippets and auto-pairs