Skip to content

Instantly share code, notes, and snippets.

View GitHelge's full-sized avatar

Christian Bauer GitHelge

  • Hamburg
View GitHub Profile
@GitHelge
GitHelge / swift.tex
Last active January 5, 2022 14:14 — forked from chriseidhof/swift.tex
Listings Swift config
\lstdefinelanguage{swift}
{
morekeywords={
func,if,then,else,for,in,while,do,switch,case,default,where,break,continue,fallthrough,return,
typealias,struct,class,super,enum,protocol,var,func,let,get,set,willSet,didSet,inout,init,deinit,extension,
subscript,prefix,operator,infix,postfix,precedence,associativity,left,right,none,convenience,dynamic,
final,lazy,mutating,nonmutating,optional,override,required,static,unowned,safe,weak,internal,
private,public,is,as,self,unsafe,dynamicType,true,false,nil,Type,Protocol,import,@IBOutlet,@IBAction, guard
},
morekeywords=[2]{Double,Int,Float,Bool,String},