Skip to content

Commit 3b2a5df

Browse files
committed
Add more pages to Merge docset and fix keybindings
1 parent 173befb commit 3b2a5df

File tree

2 files changed

+83
-4
lines changed

2 files changed

+83
-4
lines changed

sublime-merge-dashing.yml

Lines changed: 77 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,84 @@ selectors:
2626
type: Section
2727
matchpath: '\.html$'
2828

29+
###[ FAQ ]#####################################################################
30+
###[ GETTING STARTED ]#########################################################
31+
###[ DIFF CONTEXT ]############################################################
2932
###[ KEY BINDINGS ]############################################################
3033

31-
# Context modifiers
32-
'#context-key table code':
34+
# Binding settings
35+
'section:has(#bindings) h3[id]':
36+
type: Setting
37+
matchpath: '/key_bindings\.html$'
38+
39+
# "context" modifiers
40+
'dt':
3341
type: Filter
34-
requiretext: '"'
3542
matchpath: '/key_bindings\.html$'
43+
44+
###[ COMMAND PALETTE ]#########################################################
45+
###[ CUSTOM COMMANDS ]#########################################################
46+
###[ COMMAND LINE ]############################################################
47+
###[ THEMES ]##################################################################
48+
49+
# Attributes
50+
'dl.attribute > dt':
51+
type: Attribute
52+
matchpath: '/themes\.html$'
53+
54+
# Settings
55+
'dl.settings > dt':
56+
type: Setting
57+
matchpath: '/themes\.html$'
58+
59+
# Properties
60+
'dl.properties > dt':
61+
type: Property
62+
matchpath: '/themes\.html$'
63+
64+
# Theme elements
65+
'dl.elements > dt':
66+
type: Element
67+
matchpath: '/themes\.html$'
68+
69+
# Element properties
70+
# TODO: Maybe split these into attributes and properties
71+
'dl.elements > dd > dl dt code':
72+
type: Property
73+
matchpath: '/themes\.html$'
74+
75+
###[ MENUS ]###################################################################
76+
77+
# Settings
78+
'.primary section:has(#entries) dt':
79+
type: Setting
80+
matchpath: '/menus\.html$'
81+
82+
# Variables
83+
'.primary section:has(#available_menus) dl.enum > dt':
84+
requiretext: '\$'
85+
type: Variable
86+
matchpath: '/menus\.html$'
87+
88+
# Menus
89+
# (Extra trailing space to avoid JSON dict key overload)
90+
'.primary section:has(#available_menus) dl.enum > dt ':
91+
requiretext: '.sublime-menu'
92+
type: File
93+
matchpath: '/menus\.html$'
94+
95+
###[ PACKAGES ]################################################################
96+
97+
# Files
98+
'dl dd':
99+
type: File
100+
matchpath: '/packages\.html$'
101+
102+
###[ MINIHTML REFERENCE ]######################################################
103+
104+
# Variables
105+
'li code:first-child':
106+
requiretext: 'var'
107+
type: Variable
108+
matchpath: '/minihtml\.html$'
109+

sublime-text-dashing.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,12 @@ selectors:
131131

132132
###[ KEY BINDINGS ]############################################################
133133

134-
# Context modifiers
134+
# Bindings keys
135+
'#bindings h3':
136+
type: Setting
137+
matchpath: '/key_bindings\.html$'
138+
139+
# "context" modifiers
135140
'#context-key table code':
136141
type: Filter
137142
requiretext: '"'

0 commit comments

Comments
 (0)