1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-23 18:25:13 +01:00
vim/runtime/ftplugin/swift.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
733 B
VimL
Raw Normal View History

2020-01-25 13:27:42 +01:00
" This source file is part of the Swift.org open source project
"
" Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
" Licensed under Apache License v2.0 with Runtime Library Exception
"
" See https://swift.org/LICENSE.txt for license information
" See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
"
2021-01-11 19:40:15 +01:00
" Vim maintainer: Emir SARI <bitigchi@me.com>
" Last Change: 2021 Jan 08
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setlocal comments< expandtab< tabstop< shiftwidth< smartindent<"
2020-01-25 13:27:42 +01:00
setlocal comments=s1:/*,mb:*,ex:*/,:///,://
setlocal expandtab
2020-03-19 20:37:11 +01:00
setlocal sw=4 sts=4
2020-01-25 13:27:42 +01:00
setlocal smartindent