Created
March 7, 2013 00:06
-
-
Save schmod/5104392 to your computer and use it in GitHub Desktop.
TextMate/Sublime => Pygments scope/token equivalents A work in progress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global = | |
{ | |
background: 'background_color', | |
foreground: '', | |
invisibles: '', | |
lineHighlight: 'highlight_color', | |
selection: '' | |
} | |
styles = | |
{ | |
'comment': 'Comment', | |
'comment.block': 'Comment.Multiline', | |
'comment.block.preprocessor': 'Comment.Preproc', | |
'comment.line': 'Comment.Single', | |
'': 'Comment.Special', | |
'keyword': 'Keyword', | |
'constant.language': 'Keyword.Constant', | |
'storage.type': 'Keyword.Declaration', | |
'keyword.control.import': 'Keyword.Namespace', | |
'': 'Keyword.Pseudo', | |
'': 'Keyword.Reserved', | |
'storage.type': 'Keyword.Type', | |
'keyword.operator': 'Operator:', | |
'keyword.operator': 'Operator.Word', | |
'punctuation': 'Punctuation', | |
'entity.name': 'Name', | |
'entity.name.other.attribute-name': 'Name.Attribute', | |
'variable.language': 'Name.Builtin', | |
'': 'Name.Builtin.Pseudo', | |
'entity.name.class': 'Name.Class', | |
'': 'Name.Constant', | |
'': 'Name.Decorator', | |
'': 'Name.Entity', | |
'keyword.control.exception': 'Name.Exception', | |
'entity.name.function': 'Name.Function', | |
'': 'Name.Property', | |
'': 'Name.Label', | |
'': 'Name.Namespace', | |
'': 'Name.Other', | |
'entity.name.tag': 'Name.Tag', | |
'variable': 'Name.Variable', | |
'': 'Name.Variable.Class', | |
'variable.other.global': 'Name.Variable.Global', | |
'variable.other.readwrite.global': 'Name.Variable.Global', | |
'': 'Name.Variable.Instance', | |
'constant.numeric': 'Number', | |
'constant.numeric.float': 'Number.Float', | |
'constant.numeric.integer.hexidecimal': 'Number.Hex', | |
'constant.numeric.integer.decimal': 'Number.Integer', | |
'constant.numeric.integer.long': 'Number.Integer.Long', | |
'constant.numeric.integer.octal': 'Number.Oct', | |
'': 'Literal', | |
'constant.other.date': 'Literal.Date', | |
'string': 'String', | |
'string.quoted.double.raw.backtick': 'String.Backtick', | |
'string.quoted.other.backtick': 'String.Backtick', | |
'constant.character': 'String.Char', | |
'comment.block.documentation': 'String.Doc', | |
'string.quoted.double': 'String.Double', | |
'constant.character.escape': 'String.Escape', | |
'string.unquoted': 'String.Heredoc', | |
'string.interpolated': 'String.Interpol', | |
'string.other': 'String.Other', | |
'string.regexp': 'String.Regex', | |
'string.quoted.single': 'String.Single', | |
'constant.other.symbol': 'String.Symbol', | |
'': 'Generic', | |
'': 'Generic.Deleted', | |
'markup.italic': 'Generic.Emph', | |
'invalid.illegal': 'Generic.Error', | |
'markup.heading': 'Generic.Heading', | |
'': 'Generic.Inserted', | |
'': 'Generic.Output', | |
'': 'Generic.Prompt', | |
'markup.bold': 'Generic.Strong', | |
'markup.heading.2': 'Generic.Subheading', | |
'': 'Generic.Traceback', | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment