Add swift support 😄, closes #32

This commit is contained in:
Adam Stankiewicz
2014-08-13 00:17:05 +02:00
parent 15db2d7120
commit c0560d6199
4 changed files with 81 additions and 0 deletions

15
indent/swift.vim Normal file
View File

@@ -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<"