Skip to content

Instantly share code, notes, and snippets.

@KalenAnson
Last active April 12, 2017 20: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 KalenAnson/3f1fb87bf84dd9f981b3c48f902ac5f9 to your computer and use it in GitHub Desktop.
Save KalenAnson/3f1fb87bf84dd9f981b3c48f902ac5f9 to your computer and use it in GitHub Desktop.
Atom snippets
# ø snippets
'.text.html.php':
'Classify':
'prefix': '..'
'body': '->'
'.source.c':
'Classify':
'prefix': '..'
'body': '->'
'*':
'Block Comment':
'prefix': '???'
'body': '/*\\\\\n|*| $1\n\\\\*/$2'
@KalenAnson
Copy link
Author

KalenAnson commented Apr 12, 2017

Adds arrow operators -> expanded from .. and block comments expanded from ???.

/*\
|*| Comment
\*/

Paste into the atom snippet.cson file through the Atom menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment