swift-vim/swiftpackagemanager.vim
SwiftPackageManager.vim makes using Swift with Vim awesome.
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
makeThen, add spm-vim to your path:
ln -s $PWD/.build/debug/spm-vim /usr/local/bin/spm-vimFeatures
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.logSetup Code Completion and Diagnostics
It generates compile_commands.json.
# Pipe *parseable* swift output to spm-vim
swift build -parseable-output | spm-vim compile_commandsRequired 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.
Package Metadata
Repository: swift-vim/swiftpackagemanager.vim
Default branch: master
README: README.md