Mercurial > vim
comparison runtime/ftplugin/swift.vim @ 23573:e2e2cc5d0856
Update runtime files.
Commit: https://github.com/vim/vim/commit/82be4849eed0b8fbee45bc8da99b685ec89af59a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 11 19:40:15 2021 +0100
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 11 Jan 2021 19:45:05 +0100 |
parents | bceeded72898 |
children |
comparison
equal
deleted
inserted
replaced
23572:b35e568d74e6 | 23573:e2e2cc5d0856 |
---|---|
4 " Licensed under Apache License v2.0 with Runtime Library Exception | 4 " Licensed under Apache License v2.0 with Runtime Library Exception |
5 " | 5 " |
6 " See https://swift.org/LICENSE.txt for license information | 6 " See https://swift.org/LICENSE.txt for license information |
7 " See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors | 7 " See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors |
8 " | 8 " |
9 " Vim maintainer: Emir SARI <bitigchi@me.com> | 9 " Vim maintainer: Emir SARI <bitigchi@me.com> |
10 " Last Change: 2021 Jan 08 | |
11 | |
12 " Only do this when not done yet for this buffer | |
13 if exists("b:did_ftplugin") | |
14 finish | |
15 endif | |
16 | |
17 let b:did_ftplugin = 1 | |
18 let b:undo_ftplugin = "setlocal comments< expandtab< tabstop< shiftwidth< smartindent<" | |
10 | 19 |
11 setlocal comments=s1:/*,mb:*,ex:*/,:///,:// | 20 setlocal comments=s1:/*,mb:*,ex:*/,:///,:// |
12 setlocal expandtab | 21 setlocal expandtab |
13 setlocal sw=4 sts=4 | 22 setlocal sw=4 sts=4 |
14 setlocal smartindent | 23 setlocal smartindent |