Skip to content

Instantly share code, notes, and snippets.

@cjhgo
Created May 25, 2018 04:19
Show Gist options
  • Save cjhgo/acc903a570f0ced968a21f33c295ffb8 to your computer and use it in GitHub Desktop.
Save cjhgo/acc903a570f0ced968a21f33c295ffb8 to your computer and use it in GitHub Desktop.
<snippet>
<content><![CDATA[
#ifndef MYFIBER_${TM_FILENAME/(\w+)\.h/(?1\U$1)/g}
#define MYFIBER_${TM_FILENAME/(\w+)\.h/(?1\U$1)/g}
#endif
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>hello</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment