;;; Directory Local Variables
;;; See Info node `(emacs) Directory Variables' for more information.

((nil
  (tab-width . 2)
  (c-file-style . "swift")
  (eval .
        (unless (featurep 'swift-mode)
          (load-library
           (concat
            (let ((dlff (dir-locals-find-file default-directory)))
              (if (listp dlff) (car dlff) (file-name-directory dlff)))
            "utils/swift-mode")))))
 (c++mode
  (whitespace-style face lines indentation:space)
  (eval whitespace-mode))
 (swift-mode
  (tab-always-indent t)))

;; Local Variables:
;; eval: (whitespace-mode -1)
;; End:

Add project directory local variables for Emacs users
Add project directory local variables for Emacs users

I've been carrying this file around in my working copy for months now;
it makes sure you have swift-mode loaded for .swift files and sets up
cc-mode for editing Swift's ObjC++ files in our project's style.

Swift SVN r10641

tardieu/swift,aschwaighofer/swift,stephentyrone/swift,karwa/swift,JaSpa/swift,frootloops/swift,manavgabhawala/swift,therealbnut/swift,russbishop/swift,frootloops/swift,amraboelela/swift,jopamer/swift,hooman/swift,gregomni/swift,zisko/swift,modocache/swift,harlanhaskins/swift,danielmartin/swift,deyton/swift,kstaring/swift,dduan/swift,felix91gr/swift,atrick/swift,therealbnut/swift,felix91gr/swift,khizkhiz/swift,slavapestov/swift,cbrentharris/swift,shajrawi/swift,khizkhiz/swift,jtbandes/swift,jmgc/swift,sschiau/swift,johnno1962d/swift,manavgabhawala/swift,swiftix/swift.old,tkremenek/swift,OscarSwanros/swift,slavapestov/swift,parkera/swift,adrfer/swift,gribozavr/swift,djwbrown/swift,airspeedswift/swift,KrishMunot/swift,karwa/swift,sdulal/swift,huonw/swift,nathawes/swift,tinysun212/swift-windows,swiftix/swift.old,emilstahl/swift,gmilos/swift,cbrentharris/swift,gmilos/swift,xedin/swift,kentya6/swift,devincoughlin/swift,tjw/swift,karwa/swift,hooman/swift,parkera/swift,nathawes/swift,arvedviehweger/swift,dreamsxin/swift,practicalswift/swift,gottesmm/swift,gribozavr/swift,parkera/swift,jckarter/swift,natecook1000/swift,deyton/swift,codestergit/swift,calebd/swift,ahoppen/swift,austinzheng/swift,hooman/swift,Jnosh/swift,LeoShimonaka/swift,jckarter/swift,gmilos/swift,emilstahl/swift,danielmartin/swift,sdulal/swift,codestergit/swift,ken0nek/swift,devincoughlin/swift,gribozavr/swift,tkremenek/swift,shahmishal/swift,lorentey/swift,hughbe/swift,djwbrown/swift,OscarSwanros/swift,CodaFi/swift,milseman/swift,brentdax/swift,khizkhiz/swift,dduan/swift,ben-ng/swift,frootloops/swift,xwu/swift,uasys/swift,tardieu/swift,allevato/swift,zisko/swift,ken0nek/swift,tinysun212/swift-windows,adrfer/swift,gottesmm/swift,jopamer/swift,parkera/swift,tkremenek/swift,ahoppen/swift,jckarter/swift,apple/swift,MukeshKumarS/Swift,sschiau/swift,natecook1000/swift,rudkx/swift,dduan/swift,Ivacker/swift,danielmartin/swift,Ivacker/swift,huonw/swift,calebd/swift,CodaFi/swift,xedin/swift,mightydeveloper/swift,jckarter/swift,practicalswift/swift,lorentey/swift,johnno1962d/swift,stephentyrone/swift,manavgabhawala/swift,xwu/swift,alblue/swift,xwu/swift,kusl/swift,zisko/swift,huonw/swift,OscarSwanros/swift,devincoughlin/swift,manavgabhawala/swift,danielmartin/swift,glessard/swift,lorentey/swift,MukeshKumarS/Swift,nathawes/swift,OscarSwanros/swift,arvedviehweger/swift,IngmarStein/swift,russbishop/swift,ben-ng/swift,ahoppen/swift,shajrawi/swift,uasys/swift,tjw/swift,roambotics/swift,felix91gr/swift,tinysun212/swift-windows,tardieu/swift,cbrentharris/swift,tjw/swift,djwbrown/swift,danielmartin/swift,shajrawi/swift,swiftix/swift,devincoughlin/swift,return/swift,jmgc/swift,tjw/swift,russbishop/swift,gregomni/swift,CodaFi/swift,CodaFi/swift,jopamer/swift,swiftix/swift,LeoShimonaka/swift,xedin/swift,xwu/swift,amraboelela/swift,jmgc/swift,johnno1962d/swift,SwiftAndroid/swift,KrishMunot/swift,airspeedswift/swift,devincoughlin/swift,felix91gr/swift,practicalswift/swift,frootloops/swift,bitjammer/swift,devincoughlin/swift,stephentyrone/swift,shajrawi/swift,bitjammer/swift,kperryua/swift,Ivacker/swift,modocache/swift,amraboelela/swift,kstaring/swift,dduan/swift,natecook1000/swift,amraboelela/swift,ken0nek/swift,mightydeveloper/swift,parkera/swift,zisko/swift,bitjammer/swift,ben-ng/swift,brentdax/swift,calebd/swift,therealbnut/swift,emilstahl/swift,Ivacker/swift,uasys/swift,tinysun212/swift-windows,gregomni/swift,dduan/swift,alblue/swift,kusl/swift,sdulal/swift,codestergit/swift,hughbe/swift,jckarter/swift,ken0nek/swift,airspeedswift/swift,jtbandes/swift,milseman/swift,glessard/swift,harlanhaskins/swift,LeoShimonaka/swift,kusl/swift,CodaFi/swift,kentya6/swift,jtbandes/swift,benlangmuir/swift,nathawes/swift,kperryua/swift,brentdax/swift,zisko/swift,hughbe/swift,djwbrown/swift,return/swift,practicalswift/swift,swiftix/swift,harlanhaskins/swift,atrick/swift,shajrawi/swift,SwiftAndroid/swift,austinzheng/swift,gottesmm/swift,kentya6/swift,Jnosh/swift,kentya6/swift,bitjammer/swift,SwiftAndroid/swift,adrfer/swift,apple/swift,allevato/swift,lorentey/swift,MukeshKumarS/Swift,djwbrown/swift,roambotics/swift,slavapestov/swift,lorentey/swift,sschiau/swift,JaSpa/swift,gribozavr/swift,KrishMunot/swift,Jnosh/swift,adrfer/swift,cbrentharris/swift,emilstahl/swift,ahoppen/swift,swiftix/swift,karwa/swift,CodaFi/swift,shahmishal/swift,alblue/swift,JGiola/swift,modocache/swift,tkremenek/swift,gribozavr/swift,parkera/swift,amraboelela/swift,shajrawi/swift,jckarter/swift,MukeshKumarS/Swift,sdulal/swift,alblue/swift,mightydeveloper/swift,gregomni/swift,tjw/swift,aschwaighofer/swift,stephentyrone/swift,kusl/swift,frootloops/swift,JGiola/swift,milseman/swift,stephentyrone/swift,felix91gr/swift,deyton/swift,mightydeveloper/swift,return/swift,huonw/swift,xwu/swift,codestergit/swift,return/swift,kentya6/swift,jtbandes/swift,johnno1962d/swift,kperryua/swift,slavapestov/swift,KrishMunot/swift,LeoShimonaka/swift,ben-ng/swift,roambotics/swift,sdulal/swift,arvedviehweger/swift,zisko/swift,bitjammer/swift,bitjammer/swift,cbrentharris/swift,natecook1000/swift,glessard/swift,kentya6/swift,shahmishal/swift,jmgc/swift,alblue/swift,IngmarStein/swift,zisko/swift,LeoShimonaka/swift,kstaring/swift,allevato/swift,tkremenek/swift,alblue/swift,kusl/swift,gmilos/swift,cbrentharris/swift,austinzheng/swift,milseman/swift,gregomni/swift,sschiau/swift,return/swift,tjw/swift,practicalswift/swift,modocache/swift,hooman/swift,apple/swift,jopamer/swift,karwa/swift,modocache/swift,xedin/swift,therealbnut/swift,dreamsxin/swift,milseman/swift,hughbe/swift,kperryua/swift,calebd/swift,deyton/swift,LeoShimonaka/swift,SwiftAndroid/swift,KrishMunot/swift,uasys/swift,hughbe/swift,kentya6/swift,allevato/swift,johnno1962d/swift,harlanhaskins/swift,glessard/swift,bitjammer/swift,arvedviehweger/swift,austinzheng/swift,uasys/swift,emilstahl/swift,kstaring/swift,allevato/swift,hooman/swift,ken0nek/swift,MukeshKumarS/Swift,airspeedswift/swift,austinzheng/swift,MukeshKumarS/Swift,xedin/swift,danielmartin/swift,djwbrown/swift,atrick/swift,karwa/swift,harlanhaskins/swift,allevato/swift,harlanhaskins/swift,atrick/swift,gottesmm/swift,jtbandes/swift,roambotics/swift,amraboelela/swift,jtbandes/swift,Ivacker/swift,slavapestov/swift,manavgabhawala/swift,karwa/swift,khizkhiz/swift,gottesmm/swift,jmgc/swift,hughbe/swift,swiftix/swift.old,natecook1000/swift,kusl/swift,CodaFi/swift,sdulal/swift,codestergit/swift,mightydeveloper/swift,kstaring/swift,gottesmm/swift,tardieu/swift,Ivacker/swift,amraboelela/swift,gregomni/swift,practicalswift/swift,shahmishal/swift,glessard/swift,felix91gr/swift,modocache/swift,benlangmuir/swift,mightydeveloper/swift,emilstahl/swift,gribozavr/swift,rudkx/swift,devincoughlin/swift,OscarSwanros/swift,LeoShimonaka/swift,aschwaighofer/swift,huonw/swift,milseman/swift,lorentey/swift,russbishop/swift,gmilos/swift,kperryua/swift,swiftix/swift.old,rudkx/swift,hughbe/swift,tinysun212/swift-windows,tinysun212/swift-windows,brentdax/swift,sdulal/swift,tkremenek/swift,KrishMunot/swift,LeoShimonaka/swift,cbrentharris/swift,sschiau/swift,modocache/swift,sschiau/swift,nathawes/swift,IngmarStein/swift,aschwaighofer/swift,shajrawi/swift,apple/swift,arvedviehweger/swift,practicalswift/swift,roambotics/swift,rudkx/swift,codestergit/swift,therealbnut/swift,devincoughlin/swift,gottesmm/swift,OscarSwanros/swift,IngmarStein/swift,JaSpa/swift,SwiftAndroid/swift,nathawes/swift,uasys/swift,swiftix/swift,brentdax/swift,gmilos/swift,roambotics/swift,parkera/swift,gribozavr/swift,cbrentharris/swift,xwu/swift,aschwaighofer/swift,aschwaighofer/swift,return/swift,swiftix/swift.old,ken0nek/swift,Jnosh/swift,swiftix/swift.old,Jnosh/swift,slavapestov/swift,gribozavr/swift,harlanhaskins/swift,kusl/swift,adrfer/swift,codestergit/swift,ahoppen/swift,jmgc/swift,ken0nek/swift,airspeedswift/swift,natecook1000/swift,arvedviehweger/swift,kperryua/swift,allevato/swift,arvedviehweger/swift,mightydeveloper/swift,calebd/swift,jtbandes/swift,swiftix/swift.old,xedin/swift,atrick/swift,Ivacker/swift,JGiola/swift,uasys/swift,manavgabhawala/swift,emilstahl/swift,swiftix/swift,MukeshKumarS/Swift,kstaring/swift,JaSpa/swift,natecook1000/swift,deyton/swift,djwbrown/swift,mightydeveloper/swift,Jnosh/swift,felix91gr/swift,ben-ng/swift,dduan/swift,glessard/swift,huonw/swift,deyton/swift,brentdax/swift,slavapestov/swift,tardieu/swift,shahmishal/swift,IngmarStein/swift,sdulal/swift,ben-ng/swift,return/swift,frootloops/swift,deyton/swift,tardieu/swift,benlangmuir/swift,JGiola/swift,JaSpa/swift,dduan/swift,OscarSwanros/swift,lorentey/swift,SwiftAndroid/swift,benlangmuir/swift,SwiftAndroid/swift,apple/swift,atrick/swift,airspeedswift/swift,Jnosh/swift,aschwaighofer/swift,sschiau/swift,karwa/swift,calebd/swift,tjw/swift,danielmartin/swift,kentya6/swift,adrfer/swift,jmgc/swift,ahoppen/swift,IngmarStein/swift,stephentyrone/swift,shahmishal/swift,tinysun212/swift-windows,sschiau/swift,tkremenek/swift,JGiola/swift,therealbnut/swift,shahmishal/swift,russbishop/swift,khizkhiz/swift,emilstahl/swift,johnno1962d/swift,rudkx/swift,hooman/swift,therealbnut/swift,Ivacker/swift,brentdax/swift,jopamer/swift,KrishMunot/swift,xwu/swift,IngmarStein/swift,johnno1962d/swift,rudkx/swift,khizkhiz/swift,ben-ng/swift,practicalswift/swift,adrfer/swift,kperryua/swift,calebd/swift,jopamer/swift,frootloops/swift,airspeedswift/swift,tardieu/swift,shajrawi/swift,khizkhiz/swift,nathawes/swift,austinzheng/swift,hooman/swift,JGiola/swift,kusl/swift,xedin/swift,alblue/swift,manavgabhawala/swift,swiftix/swift,jopamer/swift,kstaring/swift,JaSpa/swift,russbishop/swift,huonw/swift,russbishop/swift,gmilos/swift,benlangmuir/swift,benlangmuir/swift,lorentey/swift,austinzheng/swift,jckarter/swift,parkera/swift,swiftix/swift.old,apple/swift,stephentyrone/swift,JaSpa/swift,shahmishal/swift,xedin/swift,milseman/swift