diff --git a/resources/sublime-text.toml b/resources/sublime-text.toml index 1e63c7a..dba65b7 100644 --- a/resources/sublime-text.toml +++ b/resources/sublime-text.toml @@ -219,13 +219,8 @@ attr = 'id' type = 'Setting' [[selectors.color_schemes]] -# Font styles -css = 'dt#font-style dd li code' -type = 'Value' - -[[selectors.color_schemes]] -# CSS colors -css = '#appendix-css-colors span:not(.color-block)' +# Various constants for font_style, tags_options, etc. +css = 'dd li code.literal' type = 'Value' @@ -311,7 +306,7 @@ css = '#contexts dl.setting > dt > span.sig-name' type = 'Instruction' [[selectors.syntax]] -css = '#testing ul > li > p > code:first-child' +css = '#testing ul li > p > code:first-child' type = 'Test' diff --git a/test/test_docset.py b/test/test_docset.py index a8692be..78a2c1d 100644 --- a/test/test_docset.py +++ b/test/test_docset.py @@ -322,7 +322,8 @@ def test_color_schemes(self): ('Section', 'Scope Rules'), ('Setting', 'minimap_border'), ('Function', 'blenda() adjuster'), - ('Value', 'aliceblue'), + ('Value', 'bold'), + ('Value', 'squiggly_underline'), ] self._test_a_doc_page_index('docs/color_schemes.html', contains) @@ -371,7 +372,9 @@ def test_syntax_definitions(self): ('Instruction', 'meta_content_scope'), ('Test', '^'), ('Test', '<-'), + ('Test', '@'), ('Test', 'local-definition'), + ('Test', 'reindent'), ] not_contains = [ ('Trait', '.'),