Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions resources/sublime-text.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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'


Expand Down Expand Up @@ -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'


Expand Down
5 changes: 4 additions & 1 deletion test/test_docset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -371,7 +372,9 @@ def test_syntax_definitions(self):
('Instruction', 'meta_content_scope'),
('Test', '^'),
('Test', '<-'),
('Test', '@'),
('Test', 'local-definition'),
('Test', 'reindent'),
]
not_contains = [
('Trait', '.'),
Expand Down
Loading