Play with Swift code in Vim!
It compiles the playground when you save.
Note: Code Completions, Errors, and Warnings are optionally powered by iCompleteMe.
Use your plugin manager of choice.
- Pathogen
git clone https://github.com/jerrymarino/SwiftPlayground.vim ~/.vim/bundle/SwiftPlayground.vim
- Vundle
- Add
Bundle 'https://github.com/jerrymarino/SwiftPlayground.vim'
to .vimrc - Run
:BundleInstall
- Add
- NeoBundle
- Add
NeoBundle 'https://github.com/jerrymarino/SwiftPlayground.vim'
to .vimrc - Run
:NeoBundleInstall
- Add
- vim-plug
- Add
Plug 'https://github.com/jerrymarino/SwiftPlayground.vim'
to .vimrc - Run
:PlugInstall
- Add
The following libraries use the framework provided by SwiftPlayground.vim to add similar functionality to other editors:
- swift-playground-mode: Emacs support for Swift playgrounds.