Skip to content

Instantly share code, notes, and snippets.

@evandrocoan
Created October 25, 2019 06:01
Show Gist options
  • Save evandrocoan/0dd6db3a83478288021dfb114b20ea8d to your computer and use it in GitHub Desktop.
Save evandrocoan/0dd6db3a83478288021dfb114b20ea8d to your computer and use it in GitHub Desktop.
```python
@classmethod
def is_applicable(cls, settings):
try:
view = inspect.currentframe().f_back.f_locals['view']
```
https://github.com/SublimeText/LaTeXTools/blob/5bbec63a11e44feb1ff550a16c486fef68a3eaac/st_preview/preview_math.py#L531
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment