Skip to content

Instantly share code, notes, and snippets.

@samaaron
Created January 1, 2009 23:42
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 samaaron/42416 to your computer and use it in GitHub Desktop.
Save samaaron/42416 to your computer and use it in GitHub Desktop.
{ name = 'entity.object.mimic.ioke';
begin = '[[:alnum:]!?_:-]+[[:space:]]*=(?=.*mimic\w*($|\.))';
end = '(?=\.)|$';
patterns = (
{ name = 'keyword.operator.names.ioke';
match = '\b(return|break|self|use|if|unless|true|false|nil)\b';
},
{ name = 'constant.kind.ioke';
match = '\b[A-Z][[:alnum:]!?_:-]*\b';
},
{ name = 'entity.prototype-names.ioke';
match = '\b(Base|DefaultBehavior|Ground|Origin|System|Runtime|Text|Number|Method|DefaultMethod|JavaMethod|Mixins|Restart|List|Dict)\b';
},
);
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment