Update SwiftForVim / Cleanups Remove flatMap Remove old casting functions
Update SwiftForVim / Cleanups
flatMap
SwiftPackageManager.vim makes using Swift with Vim awesome.
Status: In progress see TODO
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:
spm-vim
ln -s $PWD/.build/debug/spm-vim /usr/local/bin/spm-vim
It listens for build updates and shows results.
# Pipe swift output to .build/last_build.log swift build | tee .build/last_build.log
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.
SwiftPackageManager.vim improves and unifies many features into an easy to use plugin.
Checkout the roadmap for more!
Contributions in the form of issues, documentation, PRs, bugs, or any feedback are welcome.
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
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.