Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save PatrickLerner/2814858 to your computer and use it in GitHub Desktop.
Save PatrickLerner/2814858 to your computer and use it in GitHub Desktop.
Mythic RPG
{ scopeName = 'mythic';
fileTypes = ( 'mythics', 'mythicc' );
patterns = (
{ name = 'comment.block.mythic';
match = '^ (.+)';
captures = { 1 = { name = 'comment.block.mythic'; }; };
},
{ name = 'markup.heading.mythic';
match = '^(.+)\:$';
captures = { 1 = { name = 'markup.heading.mythic'; }; };
},
{ name = 'markup.heading.mythic';
match = '^(.+)\:(.+)$';
captures = {
1 = { name = 'variable.mythic'; };
2 = { name = 'entity.mythic'; };
};
},
{ name = 'markup.heading.mythic';
match = '^\t(.+)$';
captures = { 1 = { name = 'comment.mythic'; }; };
},
);
}
{ scopeName = 'mythic';
fileTypes = ( 'mythic' );
patterns = (
{ name = 'comment.block.mythic';
match = '^ (.+)';
captures = { 1 = { name = 'comment.block.mythic'; }; };
},
{ name = 'markup.heading.mythic';
match = '^[=]+(.+)[=]+$';
captures = { 1 = { name = 'markup.heading.mythic'; }; };
},
{ name = 'markup.heading.mythic';
match = '"(.*)"';
captures = { 1 = { name = 'string.mythic'; }; };
},
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment