From 3e9c374e8af7563e53c1d2cd1674e2a85d117111 Mon Sep 17 00:00:00 2001 From: equinusocio Date: Tue, 14 Nov 2017 14:41:17 +0100 Subject: [PATCH] chore: Remove unused markdown rules --- src/themes/theme-template-color-theme.json | 24 +++------------------- test/--.tmcolor | 1 + 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/src/themes/theme-template-color-theme.json b/src/themes/theme-template-color-theme.json index ece76e2..9d25571 100644 --- a/src/themes/theme-template-color-theme.json +++ b/src/themes/theme-template-color-theme.json @@ -636,32 +636,14 @@ "foreground": "{{variant.scheme.base.purple}}" } }, - { - "name": "Markdown - Raw Block Fenced", - "scope": [ - "markup.raw.block.fenced.markdown" - ], - "settings": { - "foreground": "#00000050" - } - }, - { - "name": "Markdown - Fenced Bode Block", - "scope": [ - "punctuation.definition.fenced.markdown" - ], - "settings": { - "foreground": "#00000050" - } - }, { "name": "Markdown - Fenced Bode Block Variable", "scope": [ - "markup.raw.block.fenced.markdown", - "variable.language.fenced.markdown" + "markup.fenced_code.block.markdown", + "markup.inline.raw.string.markdown" ], "settings": { - "foreground": "{{variant.scheme.foreground}}" + "foreground": "{{variant.scheme.foreground}}80" } }, { diff --git a/test/--.tmcolor b/test/--.tmcolor index 7c07428..885b2b2 100644 --- a/test/--.tmcolor +++ b/test/--.tmcolor @@ -45,6 +45,7 @@ markup.list.numbered — numbered list items. markup.list.unnumbered — unnumbered list items. markup.quote — quoted (sometimes block quoted) text. markup.raw — text which is verbatim, e.g. code listings. Normally spell checking is disabled for markup.raw. +markup.inline.raw markup.other — other markup constructs. meta - the meta scope is generally used to markup larger parts of the document. For example the entire line which declares a function would be meta.function and the subsets would be storage.type, entity.name.function, variable.parameter etc. and only the latter would be styled. Sometimes the meta part of the scope will be used only to limit the more general element that is styled, most of the time meta scopes are however used in scope selectors for activation of bundle items. For example in Objective-C there is a meta scope for the interface declaration of a class and the implementation, allowing the same tab-triggers to expand differently, depending on context.