Skip to content

Instantly share code, notes, and snippets.

@blach
Last active August 29, 2015 14:01
Show Gist options
  • Save blach/683552b7161cdfb0252d to your computer and use it in GitHub Desktop.
Save blach/683552b7161cdfb0252d to your computer and use it in GitHub Desktop.
Symbol list icon mapping
[self addSymbolMappingWithScopeSelectorString:@"meta.function, meta.method" imageName:@"symbol_list_function"];
[self addSymbolMappingWithScopeSelectorString:@"meta.class, meta.interface-or-protocol" imageName:@"symbol_list_class"];
[self addSymbolMappingWithScopeSelectorString:@"meta.module, meta.directive.module, source meta.implementation entity.name.type" imageName:@"symbol_list_module"];
[self addSymbolMappingWithScopeSelectorString:@"meta.directive.define, meta.preprocessor" imageName:@"symbol_list_define"];
[self addSymbolMappingWithScopeSelectorString:@"meta.tag" imageName:@"symbol_list_tag"];
[self addSymbolMappingWithScopeSelectorString:@"markup.heading" imageName:@"symbol_list_heading"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment