I’m just starting to delve into Sublime’s Plugin API, as I am trying to create a new plugin for my needs.
My question is if there is a way to make an EventListener fire only when the focused view uses a specific syntax.
I know that I could use
view.settings().get("syntax")
but I’m afraid this will not scale on the long run, if someone has many views opened
Thank you!