swift.vim

Vim runtime files for Swift

Github stars Tracking Chart

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']

Main metrics

Overview
Name With Ownerkeith/swift.vim
Primary LanguageVim Script
Program languageSwift (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2014-06-13 18:08:01
Pushed At2025-02-11 17:33:03
Last Commit At2025-02-12 02:33:03
Release Count0
用户参与
Stargazers Count822
Watchers Count22
Fork Count44
Commits Count252
Has Issues Enabled
Issues Count84
Issue Open Count19
Pull Requests Count62
Pull Requests Open Count4
Pull Requests Close Count9
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private