diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2014-08-13 00:17:05 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2014-08-13 00:17:51 +0200 |
commit | c0560d6199fe261dfd1aca6310558dc82f759fe3 (patch) | |
tree | 6d4595619983733f28d3567bc07b92c38bd76e89 /indent/swift.vim | |
parent | 15db2d71206d1c67e80d2710577144e05e03b283 (diff) | |
download | vim-polyglot-c0560d6199fe261dfd1aca6310558dc82f759fe3.tar.gz vim-polyglot-c0560d6199fe261dfd1aca6310558dc82f759fe3.zip |
Add swift support :smile:, closes #32
Diffstat (limited to 'indent/swift.vim')
-rw-r--r-- | indent/swift.vim | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/indent/swift.vim b/indent/swift.vim new file mode 100644 index 00000000..8f0de62c --- /dev/null +++ b/indent/swift.vim @@ -0,0 +1,15 @@ +" Language: Swift<https://developer.apple.com/swift/> +" Maintainer: toyama satoshi <toyamarinyon@gmail.com> +" URL: http://github.com/toyamarinyon/vim-swift +" License: GPL + +" Only load this indent file when no other was loaded. +if exists("b:did_indent") + finish +endif +let b:did_indent = 1 + +" C indenting is built-in, thus this is very simple +setlocal cindent + +let b:undo_indent = "setl cin<" |