1
Fork 0
mirror of https://github.com/Steffo99/steffula-code.git synced 2024-10-16 17:47:29 +00:00

Give kebab-case name to each token

This commit is contained in:
Steffo 2022-06-06 04:39:38 +02:00
parent 08e6531310
commit 3939415c5b
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -87,7 +87,7 @@
}, },
"tokenColors": [ "tokenColors": [
{ {
"name": "Base", "name": "base",
"scope": [ "scope": [
"meta.attribute.python", "meta.attribute.python",
], ],
@ -95,10 +95,8 @@
"foreground": "#a9b7c6", "foreground": "#a9b7c6",
} }
}, },
// Programming languages
{ {
"name": "Comment", "name": "comment",
"scope": [ "scope": [
"comment", "comment",
"punctuation.definition.comment", "punctuation.definition.comment",
@ -108,7 +106,7 @@
} }
}, },
{ {
"name": "Comment marker", "name": "comment-marker",
"scope": [ "scope": [
"comment keyword.codetag", "comment keyword.codetag",
], ],
@ -118,7 +116,7 @@
} }
}, },
{ {
"name": "Keywords", "name": "keyword",
"scope": [ "scope": [
"keyword", "keyword",
"keyword.control.flow", "keyword.control.flow",
@ -183,7 +181,7 @@
} }
}, },
{ {
"name": "Punctuation", "name": "punctuation",
"scope": [ "scope": [
"punctuation.definition", "punctuation.definition",
"punctuation.accessor", "punctuation.accessor",
@ -216,7 +214,7 @@
} }
}, },
{ {
"name": "Namespace", "name": "namespace",
"scope": [ "scope": [
"entity.name.type.module", "entity.name.type.module",
"entity.name.namespace", "entity.name.namespace",
@ -234,7 +232,7 @@
} }
}, },
{ {
"name": "Class", "name": "class",
"scope": [ "scope": [
"entity.name.type", "entity.name.type",
"storage.type", "storage.type",
@ -252,7 +250,7 @@
} }
}, },
{ {
"name": "Class declaration", "name": "class-declaration",
"scope": [ "scope": [
"meta.class entity.name.type", "meta.class entity.name.type",
"meta.block.class entity.name.type.class", "meta.block.class entity.name.type.class",
@ -266,7 +264,7 @@
} }
}, },
{ {
"name": "Interface", "name": "interface",
"scope": [ "scope": [
"entity.name.type.interface", "entity.name.type.interface",
], ],
@ -275,7 +273,7 @@
}, },
}, },
{ {
"name": "Interface declaration", "name": "interface-declaration",
"scope": [ "scope": [
"meta.interface entity.name.type.interface", "meta.interface entity.name.type.interface",
"entity.name.type.trait", "entity.name.type.trait",
@ -286,7 +284,7 @@
} }
}, },
{ {
"name": "Type alias", "name": "type",
"scope": [ "scope": [
"entity.name.type.alias", "entity.name.type.alias",
], ],
@ -295,7 +293,7 @@
} }
}, },
{ {
"name": "Type alias declaration", "name": "type-declaration",
"scope": [ "scope": [
"meta.type.declaration entity.name.type.alias", "meta.type.declaration entity.name.type.alias",
"entity.name.type.declaration", "entity.name.type.declaration",
@ -306,7 +304,7 @@
} }
}, },
{ {
"name": "Function", "name": "function",
"scope": [ "scope": [
"entity.name.function", "entity.name.function",
"support.function.target", "support.function.target",
@ -338,7 +336,7 @@
} }
}, },
{ {
"name": "Function declaration", "name": "function-declaration",
"scope": [ "scope": [
"meta.function entity.name.function", "meta.function entity.name.function",
"meta.method.identifier entity.name.function", "meta.method.identifier entity.name.function",
@ -358,7 +356,7 @@
} }
}, },
{ {
"name": "Enum", "name": "enum",
"scope": [ "scope": [
"entity.name.type.enum", "entity.name.type.enum",
"entity.name.variable.enum-member", "entity.name.variable.enum-member",
@ -369,7 +367,7 @@
} }
}, },
{ {
"name": "Enum definition", "name": "enum-declaration",
"scope": [ "scope": [
"meta.enum.declaration entity.name.type.enum", "meta.enum.declaration entity.name.type.enum",
"entity.name.type.enum.rust", "entity.name.type.enum.rust",
@ -381,7 +379,7 @@
} }
}, },
{ {
"name": "Variable", "name": "variable",
"scope": [ "scope": [
"variable", "variable",
"support.variable", "support.variable",
@ -398,7 +396,7 @@
} }
}, },
{ {
"name": "Special", "name": "special",
"scope": [ "scope": [
"support.function.magic", "support.function.magic",
"support.variable.magic", "support.variable.magic",
@ -418,7 +416,7 @@
} }
}, },
{ {
"name": "Literal / Token", "name": "literal",
"scope": [ "scope": [
"constant", "constant",
"punctuation.definition.constant", "punctuation.definition.constant",
@ -433,7 +431,7 @@
} }
}, },
{ {
"name": "String", "name": "string",
"scope": [ "scope": [
"string", "string",
"punctuation.definition.string", "punctuation.definition.string",
@ -446,7 +444,7 @@
} }
}, },
{ {
"name": "Byte-string", "name": "bytes",
"scope": [ "scope": [
"string.quoted.binary", "string.quoted.binary",
"support.function.variable.quoted.single.elixir", "support.function.variable.quoted.single.elixir",
@ -461,7 +459,7 @@
} }
}, },
{ {
"name": "Doc-string", "name": "docstring",
"scope": [ "scope": [
"string.quoted.docstring", "string.quoted.docstring",
"comment.block.documentation", "comment.block.documentation",
@ -476,7 +474,7 @@
} }
}, },
{ {
"name": "Doc-string keyword", "name": "docstring-keyword",
"scope": [ "scope": [
"storage.type.class.jsdoc", "storage.type.class.jsdoc",
"punctuation.definition.inline.tag.jsdoc", "punctuation.definition.inline.tag.jsdoc",
@ -490,7 +488,7 @@
} }
}, },
{ {
"name": "Doc-string variable", "name": "docstring-variable",
"scope": [ "scope": [
"variable.other.jsdoc", "variable.other.jsdoc",
"variable.other.description.jsdoc", "variable.other.description.jsdoc",
@ -504,7 +502,7 @@
} }
}, },
{ {
"name": "String escape", "name": "escape",
"scope": [ "scope": [
"constant.character.escape", "constant.character.escape",
"punctuation.definition.entity", "punctuation.definition.entity",
@ -515,7 +513,7 @@
} }
}, },
{ {
"name": "Format string contents", "name": "format-contents",
"scope": [ "scope": [
"constant.character.format.placeholder", "constant.character.format.placeholder",
"entity.name.tag.mustache", "entity.name.tag.mustache",
@ -526,7 +524,7 @@
} }
}, },
{ {
"name": "Format options", "name": "format-options",
"scope": [ "scope": [
"storage.type.format", "storage.type.format",
"storage.type.string.python", "storage.type.string.python",
@ -538,7 +536,7 @@
} }
}, },
{ {
"name": "Format variables", "name": "format-variables",
"scope": [ "scope": [
"variable.other.jinja", "variable.other.jinja",
], ],
@ -547,7 +545,7 @@
} }
}, },
{ {
"name": "Dictionary key", "name": "key",
"scope": [ "scope": [
"keyword.key", "keyword.key",
"keyword.other.definition.ini", "keyword.other.definition.ini",
@ -574,7 +572,7 @@
} }
}, },
{ {
"name": "Metadata", "name": "meta",
"scope": [ "scope": [
"meta.tag.preprocessor", "meta.tag.preprocessor",
"meta.tag.metadata", "meta.tag.metadata",
@ -604,7 +602,7 @@
// Markup languages // Markup languages
{ {
"name": "Heading", "name": "heading",
"scope": [ "scope": [
"heading", "heading",
"markup.heading", "markup.heading",
@ -615,7 +613,7 @@
} }
}, },
{ {
"name": "Bold", "name": "bold",
"scope": [ "scope": [
"markup.bold", "markup.bold",
], ],
@ -624,7 +622,7 @@
} }
}, },
{ {
"name": "Italic", "name": "italic",
"scope": [ "scope": [
"markup.italic", "markup.italic",
], ],
@ -633,7 +631,7 @@
} }
}, },
{ {
"name": "Underline", "name": "underline",
"scope": [ "scope": [
"markup.underline", "markup.underline",
], ],
@ -642,7 +640,7 @@
} }
}, },
{ {
"name": "Link text", "name": "link",
"scope": [ "scope": [
"meta.link", "meta.link",
"meta.image", "meta.image",
@ -657,7 +655,7 @@
} }
}, },
{ {
"name": "Link URL", "name": "url",
"scope": [ "scope": [
"markup.underline.link", "markup.underline.link",
"keyword.operator.link", "keyword.operator.link",
@ -669,7 +667,7 @@
} }
}, },
{ {
"name": "Code block", "name": "code",
"scope": [ "scope": [
"markup.fenced_code", "markup.fenced_code",
"punctuation.definition.markdown", "punctuation.definition.markdown",
@ -682,7 +680,7 @@
} }
}, },
{ {
"name": "Code block language", "name": "code-language",
"scope": [ "scope": [
"markup.fenced_code.block.language", "markup.fenced_code.block.language",
"fenced_code.block.language", // Markdown plugin bug? "fenced_code.block.language", // Markdown plugin bug?
@ -692,7 +690,7 @@
} }
}, },
{ {
"name": "Quote / Greentext", "name": "quote",
"scope": [ "scope": [
"markup.quote", "markup.quote",
"punctuation.definition.quote.begin", "punctuation.definition.quote.begin",
@ -703,7 +701,7 @@
} }
}, },
{ {
"name": "Inserted", "name": "insert",
"scope": [ "scope": [
"markup.inserted", "markup.inserted",
], ],
@ -712,7 +710,7 @@
} }
}, },
{ {
"name": "Inserted header", "name": "insert-header",
"scope": [ "scope": [
"punctuation.definition.inserted", "punctuation.definition.inserted",
"punctuation.definition.to-file", "punctuation.definition.to-file",
@ -724,7 +722,7 @@
} }
}, },
{ {
"name": "Deleted", "name": "delete",
"scope": [ "scope": [
"markup.deleted", "markup.deleted",
], ],
@ -733,7 +731,7 @@
} }
}, },
{ {
"name": "Deleted header", "name": "delete-header",
"scope": [ "scope": [
"punctuation.definition.deleted", "punctuation.definition.deleted",
"punctuation.definition.from-file", "punctuation.definition.from-file",
@ -747,7 +745,7 @@
// Logging languages // Logging languages
{ {
"name": "Error", "name": "log-error",
"scope": [ "scope": [
"log.error", "log.error",
], ],
@ -756,7 +754,7 @@
} }
}, },
{ {
"name": "Warning", "name": "log-warning",
"scope": [ "scope": [
"log.warn", "log.warn",
"log.warning", "log.warning",
@ -766,7 +764,7 @@
} }
}, },
{ {
"name": "Info", "name": "log-info",
"scope": [ "scope": [
"log.info", "log.info",
], ],
@ -775,7 +773,7 @@
} }
}, },
{ {
"name": "Verbose", "name": "log-verbose",
"scope": [ "scope": [
"log.verbose", "log.verbose",
], ],
@ -784,7 +782,7 @@
} }
}, },
{ {
"name": "Debug", "name": "log-debug",
"scope": [ "scope": [
"log.debug", "log.debug",
], ],
@ -793,7 +791,7 @@
} }
}, },
{ {
"name": "Additional context", "name": "log-context",
"scope": [ "scope": [
"log.date", "log.date",
"constant.numeric.date", "constant.numeric.date",
@ -808,7 +806,7 @@
// Configuration languages // Configuration languages
{ {
"name": "Section titles", "name": "section-title",
"scope": [ "scope": [
"meta.tag.table.toml", "meta.tag.table.toml",
"entity.name.section.group-title", "entity.name.section.group-title",
@ -821,7 +819,7 @@
// Stylesheets // Stylesheets
{ {
"name": "Tag selector", "name": "selector-tag",
"scope": [ "scope": [
"entity.name.tag.css", "entity.name.tag.css",
"entity.name.tag.wildcard.css", "entity.name.tag.wildcard.css",
@ -832,7 +830,7 @@
} }
}, },
{ {
"name": "Attribute selector", "name": "selector-attribute",
"scope": [ "scope": [
"meta.attribute-selector", "meta.attribute-selector",
], ],
@ -841,7 +839,7 @@
} }
}, },
{ {
"name": "Class selector", "name": "selector-class",
"scope": [ "scope": [
"entity.other.attribute-name.class", "entity.other.attribute-name.class",
], ],
@ -850,7 +848,7 @@
} }
}, },
{ {
"name": "ID selector", "name": "selector-id",
"scope": [ "scope": [
"entity.other.attribute-name.id", "entity.other.attribute-name.id",
], ],
@ -859,7 +857,7 @@
} }
}, },
{ {
"name": "Pseudo-class selector", "name": "selector-pseudoclass",
"scope": [ "scope": [
"entity.other.attribute-name.pseudo-class", "entity.other.attribute-name.pseudo-class",
], ],
@ -868,7 +866,7 @@
} }
}, },
{ {
"name": "Pseudo-element selector", "name": "selector-pseudoelement",
"scope": [ "scope": [
"entity.other.attribute-name.pseudo-element", "entity.other.attribute-name.pseudo-element",
], ],
@ -877,7 +875,7 @@
} }
}, },
{ {
"name": "Parent selector", "name": "selector-parent",
"scope": [ "scope": [
"entity.other.attribute-name.parent-selector", "entity.other.attribute-name.parent-selector",
], ],
@ -888,7 +886,7 @@
// Database things // Database things
{ {
"name": "Database relationships", "name": "db-relationship",
"scope": [ "scope": [
"variable.language.relations.prisma", "variable.language.relations.prisma",
], ],
@ -900,7 +898,7 @@
// Invalid stuff // Invalid stuff
{ {
"name": "Invalid", "name": "invalid",
"scope": [ "scope": [
"invalid", "invalid",
], ],