A copy of Apple's Swift tools for Vim, packaged as a Vim plugin
Clone or download
Latest commit 8a65c12 Jan 12, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
ftdetect cpp Jan 12, 2019
ftplugin cgyb Jan 7, 2019
syntax cgyb Jan 7, 2019
LICENSE.txt license Dec 26, 2018
README.md Update README.md Jan 7, 2019
swift-format.py initial import from apple repo Dec 26, 2018


Apple's Swift plugin for Vim

This is a copy of Apple's Swift tools for Vim from their Swift repo. I've put it in a separate repo so that you can easily install it with your prefered plugin installer. (I use Vundle, so I just add Plugin 'jph00/swift-apple' to my .vimrc and run :PluginInstall.)

It provides syntax highlighting for gyb, SIL, and Swift files, and sets defaults for tab stops etc.

I've also added syntax highlighting for gyb templates for C and header files.