Customize snippets for ACE edtior

I need to customize new snippets for ACE editor (when end user type ahead of expression, the editor can display the related expressions). But these expression is not belong to any program language, I set the editor's mode as text, in this condition it can't match the requirement.
Can someone recommend some ideas?