• Stars
    star
    805
  • Rank 54,787 (Top 2 %)
  • Language
    Vim Script
  • License
    MIT License
  • Created almost 10 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Vim runtime files for Swift

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

More Repositories

1

reminders-cli

A simple CLI for interacting with macOS reminders
Swift
552
star
2

hopper-swift-demangle

A Hopper plugin for demangle Swift symbols
Objective-C
525
star
3

swift-staticlibs

Scripts to allow Swift static libraries to be compiled in Xcode
Shell
342
star
4

investigate.vim

A Vim plugin for looking up documentation
Vim Script
291
star
5

dyld-shared-cache-extractor

A CLI for extracting libraries from Apple's dyld shared cache file
C
283
star
6

dotfiles

My vim, zsh, tmux, and macOS dotfiles
Shell
238
star
7

ModMove

Move/Resize windows using modifiers and the mouse
Swift
106
star
8

git-pile

Stacked diff support for GitHub workflows
Shell
95
star
9

zap

A CLI for cleaning up after .apps
Shell
92
star
10

Xcode.app-strings

All the strings from Xcode's binaries
Python
90
star
11

xcode-ast-dump

Dump the AST of your Swift Xcode project
Python
80
star
12

evil-tmux-navigator

Seamlessly navigate Emacs and tmux splits
Emacs Lisp
62
star
13

vote-knope

Automatically delete +1 comments on GitHub issues
Python
62
star
14

contacts-cli

Query macOS contacts from the command line
Swift
58
star
15

LoginItemTest

This is a demo application using SMLoginItemSetEnabled to enable your sandboxed applications to launch when the user logs in.
Objective-C
57
star
16

zsh-xcode-completions

Zsh completion for the Xcode command line tools
Makefile
55
star
17

sourcekittendaemon.vim

Autocomplete Swift in Vim
Python
53
star
18

bazel-rust-mobile-demo

An example repository for using rust on iOS and Android with bazel
Starlark
52
star
19

rules_apple_linker

Bazel rules for overriding ld64 with lld or zld
Starlark
51
star
20

StaticInternalSwiftSyntaxParser

A static library for using SwiftSyntax / lib_InternalSwiftSyntaxParser
Shell
47
star
21

tmux.vim

[DEPRECATED] .tmux.conf syntax highlighting
Vim Script
44
star
22

IgnoreXcodeImageCompletions

A Xcode plugin for discarding Image completions
Objective-C
43
star
23

rspec.vim

Better rspec syntax highlighting for Vim
Vim Script
42
star
24

parsec.vim

A Vim color scheme for people tired of solarized
Vim Script
41
star
25

PlaygroundQuickLook

A Quick Look plugin for playground files
C
40
star
26

swiftpm-linux-cross

Cross compile from macOS to Linux with Swift Package Manager
Python
40
star
27

xcode-man-pages

A HTML export of Xcode's man pages
Shell
40
star
28

ghb

Tools for GitHub
Python
35
star
29

MD5Digest

An Objective-C NSString category for MD5 hex digests
Objective-C
33
star
30

edit-weechat

Compose weechat messages in your $EDITOR
Python
33
star
31

rules_multirun

Bazel rules for running multiple commands in parallel in a single bazel invocation
Starlark
33
star
32

parsec

A color scheme for people tired of solarized
31
star
33

buildifier-prebuilt

A bazel toolchain for using prebuilt binaries for buildifier and buildozer
Starlark
31
star
34

skit

yaml -> sourcekit -> json
C++
29
star
35

diff-grep

Filter matching hunks in diffs
Rust
28
star
36

conductor

A lightweight OS X window manager for hackers
Objective-C
26
star
37

ld64.lld

macOS universal binary downloads of ld64.lld
25
star
38

injectURLProtocol

cycript script for injecting a custom NSURLProtocol into a running application
Cycript
25
star
39

travis.vim

Travis CI build status inside vim
Python
25
star
40

export-strings

Export strings from a directory of executables
Python
25
star
41

tag

A helper for quickly opening matches in vim
C++
22
star
42

xcconfig.vim

Vim runtime files for xcconfigs
Vim Script
22
star
43

swift-syntax-bazel

Bazel support for SwiftSyntax
Starlark
20
star
44

gist.vim

Create gists from Vim
Python
19
star
45

ghs

A Github repo search CLI
Go
18
star
46

radars

Example projects I have created for radars
Objective-C
15
star
47

PTHotKeyTest

This is a sandboxed and ARC enabled implementation of custom global hotkeys in Objective-C using PTHotKey
Objective-C
15
star
48

color-builder

base16 builder with solarized templates
HTML
15
star
49

xcframework-to-fat

Create a fat framework from an xcframework bundle
Python
15
star
50

homebrew-formulae

Homebrew formulae for various tools
Ruby
14
star
51

fix-macosx-internal-sdk

`macosx.internal` -> `macosx`
Swift
14
star
52

cocoapods-foundation-headers

A CocoaPods plugin to stop polluting your project with UIKit/Cocoa imports
Ruby
14
star
53

SMLoginItems

See sandboxed login items
Objective-C
13
star
54

objc_dupclass

Silence "Class Foo is implemented in both" warnings
Shell
13
star
55

KSInstapaperAPI

An Instapaper API controller with the ability to queue URLs when the network is down
Objective-C
13
star
56

circle-cli

A CLI for interacting with CircleCI
Python
12
star
57

bitcode-build-tool

A dump of `Xcode.app/Contents/Developer/usr/bin/bitcode-build-tool` for easy diffing
Python
11
star
58

pre-commit-buildifier

Fix & Lint starlark code with buildifier and pre-commit
Shell
10
star
59

KSGithubStatusAPI

A simple Objective-C API controller for status.github.com
Objective-C
10
star
60

DotCSS

A Safari App Extension for loading CSS files from ~/.css
Swift
10
star
61

keith-as-a-service

Here to close pull requests for you
Python
9
star
62

ColdBrew

Like Caffeine. But with a retina icon
Objective-C
9
star
63

cctools

A mirror of Apple's cctools open source dump with buildable branches
C
9
star
64

ShortcutRecorderTest

A sandboxed & ARC demo app using the ShortcutRecorder framework for global hotkeys on OS X
Objective-C
9
star
65

extract-section

Use `xcrun segedit` instead
Python
9
star
66

CopyHistory

Quickly paste from your copy history
Objective-C
9
star
67

ld64

A mirror of ld64 source dumps from opensource.apple.com with buildable branches
C++
9
star
68

swift-doccomment-converter

Swift 1.2 -> Swift 2.0 documentation comments
Python
8
star
69

marooned

Find files stranded from your Xcode project
Ruby
8
star
70

netrc

A netrc implementation in Go
Go
8
star
71

bolt

A POC Rake like tool in Swift
Swift
8
star
72

normalize-profile

Output provisioning profiles in a diffable way
Python
8
star
73

KSADNPostParser

A small library to parse Markdown URLs for ADN posts
Objective-C
7
star
74

KSADNTwitterFormatter

A simple class for taking ADN posts and reformatting them to fit into Twitter's length restrictions, taking links into account.
Objective-C
7
star
75

pinboard

Scripts for working with Pinboard
Python
7
star
76

KBSElementRef

An ObjC wrapper for AXUIElementRef and friends
Objective-C
7
star
77

KSLabel

A drop in subclass of NSTextField for programmatically created labels.
Objective-C
7
star
78

ColorConvert

A small application to convert itermcolors to AppleScript
Objective-C
6
star
79

gifiate

Create a gif from a youtuble-dl'able video
Shell
6
star
80

StaticIndexStore

A static archive of libIndexStore.dylib
Shell
5
star
81

git-relative-status

A CLI for printing the status in a git repo with relative file paths
Rust
5
star
82

sourcekitten.vim

An experimental swift highlighting plugin for vim
Python
5
star
83

mkgpx

A CLI for generating gpx files
Swift
4
star
84

bazel-stamp-example

An example of bazel's stamp feature to embed git shas and other info into produced binaries
Starlark
4
star
85

keith.so

My personal landing site
SCSS
4
star
86

weechat

My weechat configuration
Perl
4
star
87

KSDebugLayer

A CALayer subclass for debugging animations
Objective-C
4
star
88

ubsan-xcode-absolute-paths

Example of forcing absolute paths in ubsan errors for Xcode
C
4
star
89

terminal-notifier-weechat

OS X notifications for weechat messages
Python
4
star
90

emote-weechat

¯\_(ツ)_/¯ in weechat
Python
3
star
91

Github-Status

A menu bar utility tracking Github's status using the status.github.com api
Objective-C
3
star
92

ld64.mold

macOS universal binary downloads of ld64.mold
3
star
93

giphy-weechat

Generate random giphy URLs from a search
Python
3
star
94

KSQueryItem

A NSDictionary category to return NSURLQueryItems
Objective-C
3
star
95

mkgitignore

A rubygem for creating gitignore files from Github's templates
Ruby
3
star
96

kiwi.vim

A Vim syntax plugin for the Kiwi ObjC test framework
Vim Script
3
star
97

smileykeith.com

CSS
3
star
98

dotcss-styles

My custom css for use with dotcss
CSS
3
star
99

KBSCloudAppAPI

[WIP] A minimal API for CloudApp
Objective-C
3
star
100

urlview-weechat

A weechat plugin for piping buffers through urlview
Python
3
star