Swift.vim Save

Vim runtime files for Swift

Project README

Swift.vim

Syntax and indent files for Swift

If you don't have a preferred installation method check out vim-plug.

Examples

Syntastic Integration

swift.vim can show errors inline from swift package manager or from swiftlint using syntastic.

Usage

  • Install syntastic

  • swiftpm integration will be automatically enabled if you're running vim from a directory containing a Package.swift file.

  • SwiftLint integration will be automatically enabled if you have SwiftLint installed and if you're running vim from a directory containing a .swiftlint.yml file.

  • To enable both at once add this to your vimrc:

let g:syntastic_swift_checkers = ['swiftpm', 'swiftlint']
Open Source Agenda is not affiliated with "Swift.vim" Project. README Source: keith/swift.vim
Stars
806
Open Issues
22
Last Commit
8 months ago
Repository
License
MIT
Tags

Open Source Agenda Badge

Open Source Agenda Rating