view runtime/ftplugin/swift.vim @ 32309:d245cd5b3bd7 v9.0.1486

patch 9.0.1486: parallel make might not work Commit: https://github.com/vim/vim/commit/cfc788c38848adcd54e4130f16f2813cd1e215dd Author: Samuel Dionne-Riel <samuel@dionne-riel.com> Date: Mon Apr 24 22:41:53 2023 +0100 patch 9.0.1486: parallel make might not work Problem: Parallel make might not work. Solution: Add missing dependencies. (Samuel Dionne-Riel, closes https://github.com/vim/vim/issues/12288)
author Bram Moolenaar <Bram@vim.org>
date Mon, 24 Apr 2023 23:45:02 +0200
parents e2e2cc5d0856
children
line wrap: on
line source

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

setlocal comments=s1:/*,mb:*,ex:*/,:///,://
setlocal expandtab
setlocal sw=4 sts=4
setlocal smartindent