Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.14 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.14 KB

Swift file type plugin for Vim

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

Features

  • 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.

Installation

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