SwiftPackageManager.vim
SwiftPackageManager.vim makes using Swift with Vim awesome.

Status: In progress see TODO
Installing
First, install with your favorite plugin manager.
Build:
cd .vim/bundle
git clone https://github.com/swift-vim/SwiftPackageManager.vim.git
cd SwiftPackageManager.vim
make
Then, add spm-vim
to your path:
ln -s $PWD/.build/debug/spm-vim /usr/local/bin/spm-vim
Features
View Swift Build Results in Vim
It listens for build updates and shows results.
# Pipe swift output to .build/last_build.log
swift build | tee .build/last_build.log
Setup Code Completion and Diagnostics
It generates compile_commands.json.
# Pipe *parseable* swift output to spm-vim
swift build -parseable-output | spm-vim compile_commands
Required by code completion and diagnostics engine, iCompleteMe.
Roadmap
SwiftPackageManager.vim improves and unifies many features into an easy to use plugin.
Checkout the roadmap for more!
Contributing
Contributions in the form of issues, documentation, PRs, bugs, or any feedback are welcome.
SwiftPackageManager.vim
SwiftPackageManager.vim makes using Swift with Vim awesome.
Status: In progress see TODO
Installing
First, install with your favorite plugin manager.
Build:
Then, add
spm-vim
to your path:Features
View Swift Build Results in Vim
It listens for build updates and shows results.
Setup Code Completion and Diagnostics
It generates compile_commands.json.
Required by code completion and diagnostics engine, iCompleteMe.
Roadmap
SwiftPackageManager.vim improves and unifies many features into an easy to use plugin.
Checkout the roadmap for more!
Contributing
Contributions in the form of issues, documentation, PRs, bugs, or any feedback are welcome.