2018-07-21 18:43:58 -07:00
2016-06-02 14:43:39 -07:00
2018-04-01 23:37:22 -07:00
2015-10-20 14:26:30 -05:00
2016-06-02 14:43:39 -07:00
2018-04-20 11:37:48 -07:00
2014-06-13 11:10:12 -07:00

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']
Description
Vim runtime files for Swift
Readme MIT 649 KiB
Languages
Vim Script 67.3%
Swift 32%
Shell 0.7%