Swift filetype plugin for Vim
Vim script
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


Swift file type plugin for Vim

This is a Vim file type plugin for the Swift programming language.


  • Full syntax coloring for Swift (including support for folding).
  • Helper commands for running Swift scripts and printing various compilation stages, including LLVM IR and assembly.
  • Full support for compiling/running iOS scripts using the iOS Simulator.
  • Supports multiple installations of Xcode.

See :help ft-swift for more details.


Install this plugin with your Vim plugin manager of choice.


Add the following to your .vimrc:

NeoBundle 'kballard/vim-swift', {
        \ 'filetypes': 'swift',
        \ 'unite_sources': ['swift/device', 'swift/developer_dir']


Run the following commands in your terminal:

cd ~/.vim/bundle
git clone https://github.com/kballard/vim-swift.git