Skip to content

Commit 0a0f739

Browse files
committed
Tweak syntax test token selector
Now also matches tokens in list items that are encapsulated in version-specific div blocks.
1 parent 992f77a commit 0a0f739

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

resources/sublime-text.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ css = '#contexts dl.setting > dt > span.sig-name'
306306
type = 'Instruction'
307307

308308
[[selectors.syntax]]
309-
css = '#testing ul > li > p > code:first-child'
309+
css = '#testing ul li > p > code:first-child'
310310
type = 'Test'
311311

312312

test/test_docset.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,9 @@ def test_syntax_definitions(self):
372372
('Instruction', 'meta_content_scope'),
373373
('Test', '^'),
374374
('Test', '<-'),
375+
('Test', '@'),
375376
('Test', 'local-definition'),
377+
('Test', 'reindent'),
376378
]
377379
not_contains = [
378380
('Trait', '.'),

0 commit comments

Comments
 (0)