forked from GregoryBL/SwiftSyntax
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update language grammars to be more in line with Sublime conventions
This change introduces a bunch of tweaks/improvements to the syntax including: - Switches to use storage or variable scopes in places where entity was being used incorrectly - Updates start and end brackets scope to be more generic using `punctuation.section.block` - Updates `class` definition to use keyword as opposed to storage - Updates argument labels in function declarations to use new scope - Updates import syntax to be more like other languages - Adds support for static keyword - Adds support for `#selector` and `#available` methods - Adds some missing tests to code blocks in the syntax_test_swift file - Adds support for variable and function declarations within struct blocks These changes are not exhaustive, but should make things match up more closely with other languages in Sublime Text. Related to sublimehq/Packages#11
- Loading branch information
Showing
2 changed files
with
161 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.