on my recent contribution to a ST plugin i was asked why my triggers are all lowercase. Personally, i find it annoying to type with caps (like many do). I’ve seen some snippets changing the trigger to lowercase, too.
Referring to tab trigger, comletion triggers and snippets are there conventions for text completions? Anything to consider?
completion.lower().startswith(prefix)
<tabTrigger>fun</tabTrigger>
{
"scope": "source.python",
"completions": [
{
"trigger": "def",
"contents": "DEF"
}
]
}