Skip to content
Open
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
6 changes: 4 additions & 2 deletions Swift.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ contexts:
- match: ':'
scope: punctuation.separator.annotation.type-annotation.swift
pop: 1
- match: '{{identifier}}'
- match: '{{non_reserved_identifier}}'
scope: meta.entity.name.let.swift variable.other.constant.swift
# For value-binding
- match: \(\s*({{identifier}})
Expand All @@ -1218,6 +1218,7 @@ contexts:
- match: ({{identifier}})
captures:
1: meta.entity.name.let.swift variable.other.constant.swift
- include: reserved-word-pop
- include: else-pop

declaration-variable:
Expand All @@ -1231,7 +1232,7 @@ contexts:
- match: ':'
scope: punctuation.separator.annotation.type-annotation.swift
pop: 1
- match: '{{identifier}}'
- match: '{{non_reserved_identifier}}'
scope: meta.entity.name.var.swift variable.other.swift
# For value-binding
- match: \(\s*({{identifier}})
Expand All @@ -1245,6 +1246,7 @@ contexts:
- match: ({{identifier}})
captures:
1: meta.entity.name.let.swift variable.other.constant.swift
- include: reserved-word-pop
- include: else-pop

declaration-typealias:
Expand Down