Allan Espinosa

SwiftScript Vim syntax file

2010 April 16

One weekend I was reading an article howto made a Vim syntax file. In application I decided to make one for the Swift workflow system. Most of the script contains simple word matches for some Swift keywords. Then I copied the matching rules for comments from the C syntax files in the standard Vim distribution. For a preview, checkout the screenshot below which uses the desert256.vim colorscheme in a gnome-terminal:

[caption id="" align=“alignnone” width=“448” caption=“Fig. a Swift workflow syntax highlighted”][oops_swift by yecartes, on Flickr](http://www.flickr.com/photos/yecartes/4519619784/)[/caption]

The syntax file can be downloaded from my graduate student code-shanty page.