annotate runtime/ftplugin/swift.vim @ 29247:5f314b2ed494 v8.2.5142

patch 8.2.5142: startup test fails if there is a status bar Commit: https://github.com/vim/vim/commit/fa04eae5a5b9394079bde2d37ce6f9f8a5567d48 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 21 14:38:40 2022 +0100 patch 8.2.5142: startup test fails if there is a status bar Problem: Startup test fails if there is a status bar at the top of the screen. (Ernie Rael) Solution: Use a larger vertical offset in the test.
author Bram Moolenaar <Bram@vim.org>
date Tue, 21 Jun 2022 18:45:07 +0200
parents e2e2cc5d0856
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19180
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " This source file is part of the Swift.org open source project
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 "
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Licensed under Apache License v2.0 with Runtime Library Exception
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 "
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 " See https://swift.org/LICENSE.txt for license information
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 " See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 "
23573
e2e2cc5d0856 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
9 " Vim maintainer: Emir SARI <bitigchi@me.com>
e2e2cc5d0856 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
10 " Last Change: 2021 Jan 08
e2e2cc5d0856 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
11
e2e2cc5d0856 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
12 " Only do this when not done yet for this buffer
e2e2cc5d0856 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
13 if exists("b:did_ftplugin")
e2e2cc5d0856 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
14 finish
e2e2cc5d0856 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
15 endif
e2e2cc5d0856 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
16
e2e2cc5d0856 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
17 let b:did_ftplugin = 1
e2e2cc5d0856 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
18 let b:undo_ftplugin = "setlocal comments< expandtab< tabstop< shiftwidth< smartindent<"
19180
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 setlocal comments=s1:/*,mb:*,ex:*/,:///,://
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 setlocal expandtab
19721
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19180
diff changeset
22 setlocal sw=4 sts=4
19180
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 setlocal smartindent