Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keith/swift.vim
Vim runtime files for Swift
https://github.com/keith/swift.vim
swift vim viml
Last synced: about 2 months ago
JSON representation
Vim runtime files for Swift
- Host: GitHub
- URL: https://github.com/keith/swift.vim
- Owner: keith
- License: mit
- Created: 2014-06-13T18:08:01.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-08-02T04:15:43.000Z (11 months ago)
- Last Synced: 2024-01-08T10:20:13.185Z (5 months ago)
- Topics: swift, vim, viml
- Language: Vim Script
- Size: 442 KB
- Stars: 804
- Watchers: 25
- Forks: 49
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-swift - swift-vim - Vim runtime files. (Editor Support / Vim)
- awesome-vim - Swift - Swift (Plugins / Syntax)
- awesome-swift - swift-vim - Vim runtime files. (Editor Support / Vim)
- awesome-swifty - swift-vim - Vim runtime files. (Editor Support / Vim)
- awesome-swift4 - swift-vim - Vim runtime files. (Editor Support / Vim)
- awesome-stars - keith/swift.vim - Vim runtime files for Swift (Vim Script)
- awesome-swifte - swift-vim - Vim runtime files. (Editor Support / Vim)
- awesome-stars - keith/swift.vim - Vim runtime files for Swift (Vim Script)
- fucking-awesome-swift - swift-vim - Vim runtime files. (Editor Support / Vim)
- awesome-swiftxx - swift-vim - Vim runtime files. (Editor Support / Vim)
- awesome-swiftqq - swift-vim - Vim runtime files. (Editor Support / Vim)
- awesome-swift-cn - swift-vim - play Swift with vim editor. (Editor Support / Vim)
- awesome-swift - swift-vim - Vim runtime files. (Editor Support / Vim)
- awesome-swift - swift-vim - Vim runtime files for Swift ` 📝 a month ago ` (Vim [🔝](#readme))
README
# Swift.vim
Syntax and indent files for [Swift](https://developer.apple.com/swift/)
If you don't have a preferred installation method check out
[vim-plug](https://github.com/junegunn/vim-plug).## Examples
![](https://raw.githubusercontent.com/keith/swift.vim/master/screenshots/screen.png)
![](https://raw.githubusercontent.com/keith/swift.vim/master/screenshots/screen2.png)## [Syntastic](https://github.com/scrooloose/syntastic/) Integration
swift.vim can show errors inline from
[swift package manager](https://github.com/apple/swift-package-manager/)
or from [swiftlint](https://github.com/realm/SwiftLint) using
[syntastic](https://github.com/scrooloose/syntastic/).![](https://raw.githubusercontent.com/keith/swift.vim/master/screenshots/screen3.png)
### Usage
- Install [syntastic](https://github.com/scrooloose/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:
```vim
let g:syntastic_swift_checkers = ['swiftpm', 'swiftlint']
```