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
3 changes: 3 additions & 0 deletions fix_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
('docs/syntax.html',
'<comment_token> SYNTAX\nTEST "<syntax_file>"',
'<comment_token> SYNTAX TEST "<syntax_file>"', ),
('docs/safe_mode.html',
'subl--safe-mode',
'subl --safe-mode', ),
],
'sublime-merge.docset': []
}
Expand Down
81 changes: 53 additions & 28 deletions sublime-text-dashing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,21 @@ selectors:

###[ INCREMENTAL DIFF ]########################################################

# Commands and menus
# Scopes as Tags
'#styling li p':
type: Style
type: Tag
matchpath: '/incremental_diff\.html$'

# Settings
'dl.setting > dt[id]':
'dl.setting > dt[id] ':
attr: id
type: Setting
matchpath: '/incremental_diff\.html$'

###[ INDEXING ]################################################################

# Settings
'dl.setting > dt[id]':
'dl.setting > dt[id] ':
attr: id
type: Setting
matchpath: '/indexing\.html$'
Expand All @@ -72,12 +72,12 @@ selectors:

# Completion kinds
'#kind-info table.kinds td:not(:has(span))':
type: Enum
type: Value
matchpath: '/completions\.html$'

# Completion kinds again
'dl.setting ul.simple:first-child > li':
type: Enum
'#rich-format dl.setting:has(#kind) ul.simple > li':
type: Value
matchpath: '/completions\.html$'

# Completion fields
Expand All @@ -91,13 +91,13 @@ selectors:
matchpath: '/completions\.html$'

# Variables
'#variables table code':
'#variables table span.pre':
type: Variable
requiretext: '\$'
matchpath: '/completions\.html$'

# Settings
'dl.setting > dt[id]':
'dl.setting > dt[id] ':
attr: id
type: Setting
matchpath: '/completions\.html$'
Expand All @@ -118,7 +118,8 @@ selectors:
###[ PROJECTS ]################################################################

# Settings
'dl.setting > dt[id]':
'dl.setting > dt[id] ':
attr: id
type: Setting
matchpath: '/projects\.html$'

Expand Down Expand Up @@ -146,26 +147,28 @@ selectors:
###[ INDENTATION SETTINGS ]####################################################

# Settings
'dl.setting > dt[id]':
'dl.setting > dt[id] ':
attr: id
type: Setting
matchpath: '/indentation\.html$'

###[ SPELL CHECKING ]##########################################################

# Settings
'dl.setting > dt[id]':
'dl.setting > dt[id] ':
attr: id
type: Setting
matchpath: '/spell_checking\.html$'

# Commands
'#commands code':
'#commands code:first-child':
type: Command
matchpath: '/spell_checking\.html$'

###[ BUILD SYSTEMS ]###########################################################

# Options
'dl.setting > dt[id]':
'dl.setting > dt[id] ':
attr: id
type: Option
matchpath: '/build_systems\.html$'
Expand All @@ -179,7 +182,7 @@ selectors:
###[ PACKAGES ]################################################################

# Files
'li span.file':
'li span.file ':
type: File
matchpath: '/packages\.html$'

Expand Down Expand Up @@ -209,7 +212,7 @@ selectors:
###[ REVERTING TO A FRESHLY INSTALLED STATE ]##################################

# Files
'#reverting-to-a-freshly-installed-state > ul li span.file':
'li span.file ':
type: File
matchpath: '/revert\.html$'

Expand All @@ -227,8 +230,7 @@ selectors:
# Files
'li span.file':
type: File
requiretext: 'license'
matchpath: '/packages\.html$'
matchpath: '/portable_license_keys\.html$'

###[ COLOR SCHEMES ]###########################################################

Expand All @@ -238,7 +240,8 @@ selectors:
matchpath: '/color_schemes\.html$'

# Settings
'dl.setting > dt[id]':
'dl.setting > dt[id] ':
attr: id
type: Setting
matchpath: '/color_schemes\.html$'

Expand All @@ -248,14 +251,15 @@ selectors:
matchpath: '/color_schemes\.html$'

# CSS Colors
'#appendix-css-colors li span:not(.color-block)':
'#appendix-css-colors span:not(.color-block)':
type: Value
matchpath: '/color_schemes\.html$'

###[ THEMES ]##################################################################

# Settings
'dl.setting > dt[id]':
'dl.setting > dt[id] ':
attr: id
type: Setting
matchpath: '/themes\.html$'

Expand All @@ -278,7 +282,8 @@ selectors:
###[ MENUS ]###################################################################

# Settings
'dl.setting > dt[id]':
'dl.setting > dt[id] ':
attr: id
type: Setting
matchpath: '/menus\.html$'

Expand Down Expand Up @@ -334,8 +339,13 @@ selectors:

###[ SYNTAX DEFINITIONS ]######################################################

# Syntax
'dl.setting span.pre':
# Syntax header
'#header dl.setting > dt > span.sig-name':
type: Trait
matchpath: '/syntax\.html$'

# Syntax body
'#contexts dl.setting > dt > span.sig-name':
type: Instruction
matchpath: '/syntax\.html$'

Expand All @@ -346,22 +356,37 @@ selectors:

###[ SCOPE NAMING ]############################################################

# Scope names as Values
# Scope names as Tags
'ul.simple li code':
type: Value
type: Tag
matchpath: '/scope_naming\.html$'

###[ MINIHTML REFERENCE ]######################################################

# Elements
'#tags li > code':
'#tags li code':
type: Element
requiretext: '<.+>'
matchpath: '/minihtml\.html$'

# Attributes
'#attributes li code':
type: Attribute
matchpath: '/minihtml\.html$'

# CSS styles
'#css li code:first-child':
'#css > ul li code:first-child':
type: Style
matchpath: '/minihtml\.html$'

# Color functions
'#color-mod-function-proprietary > ul li code':
type: Function
matchpath: '/minihtml\.html$'

# Variables
'#predefined-variables > ul li code':
type: Variable
matchpath: '/minihtml\.html$'

###[ PLUGIN PORTING GUIDE ]####################################################
Loading
Loading