[Swift-user] Swiftscript vim syntax file

Ian Foster foster at anl.gov
Sat Mar 27 21:57:48 CDT 2010


let's make sure this is on the Swift web somewhere!

On Mar 27, 2010, at 8:45 PM, Allan Espinosa wrote:

> Just a quick weekend hack.
> 
> Installation:
> 
> 1. get swift.vim from http://www.ci.uchicago.edu/~aespinosa/swift/swift.vim
> 2. place swift.vim in your ~/.vim/syntax directory
> 3. add the following lines to your ~/.vim/filetype.vim :
> " Swift script
> au BufRead,BufNewFile *.swift setfiletype swift
> 
> Now opening a .swift file in your ViM text editor will now have pretty colors :)
> 
> Enjoy!
> -Allan
> 
> -- 
> Allan M. Espinosa <http://amespinosa.wordpress.com>
> PhD student, Computer Science
> University of Chicago <http://people.cs.uchicago.edu/~aespinosa>
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user




More information about the Swift-user mailing list