Sublime Forum

< tabTrigger not working

#1

I’m working on https://github.com/MLstate/OpaSublimeText and would like to have a tag snippet.

Problem is, the tabTrigger with < is not working for instance with:


<
source.opa

Other snippets are fine, as classical alphanumerical tabTriggers.
Any idea?

0 Likes

#2

You probably need to copy and play with the setting

// Additional situations to trigger auto complete "auto_complete_triggers": {"selector": "text.html", "characters": "<"} ],

and possibly word_separators. You might need to account for the semi-colon ; as well, or perhaps drop it from the trigger pro-tem.

0 Likes