annotate runtime/ftplugin/swift.vim @ 27904:7422add1afd1 v8.2.4477

patch 8.2.4477: crash when using fuzzy completion Commit: https://github.com/vim/vim/commit/29ab6ce9f36660cffaad3c8789e71162e5db5d2f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 26 15:52:08 2022 +0000 patch 8.2.4477: crash when using fuzzy completion Problem: Crash when using fuzzy completion. Solution: Temporary fix: put back regexp. (closes https://github.com/vim/vim/issues/9851)
author Bram Moolenaar <Bram@vim.org>
date Sat, 26 Feb 2022 17:00:04 +0100
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