move builtin snippet to lydocument