Skip to content

Instantly share code, notes, and snippets.

@mgutz
Created April 1, 2015 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgutz/f1387146c957a6bf2c48 to your computer and use it in GitHub Desktop.
Save mgutz/f1387146c957a6bf2c48 to your computer and use it in GitHub Desktop.
atom stuff
Get scope of current file
```
atom.workspace.getActiveEditor().getGrammar().scopeName
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment