Splash 0.2.0
Splash now uses Swift 4.2
. Keep using older versions for Swift 4.1
support.
Splash:
- Added support for the
inout
,continue
,fallthrough
,indirect
,deinit
,is
,while
andrepeat
keywords (thanks @marcocapano!) - Added support for custom token types.
SwiftGrammar
can now more easily be extended..init()
is no longer treated as an enum.- Keywords used as function names are no longer treated as keywords.
- Highlighting is now correct for types conforming to multiple protocols.
- Associated types are now correctly highlighted.
- Setters with an explicit access level are now highlighted as keywords.
- The
XCTAssert
family of functions are now highlighted as functions, rather than types. switch
statements usingnil
pattern matching are now correctly highlighted.- Functions using argument pre-processors are now correctly highlighted.
Bool
values passed to arguments without an external parameter label are now correctly highlighted.
SplashImageGen:
- Added support for specifying a background color (thanks @MaciejGad!)