annotate runtime/ftplugin/swift.vim @ 21006:ae185f35e256
v8.2.1054
patch 8.2.1054: not so easy to pass a lua function to Vim
Commit: https://github.com/vim/vim/commit/801ab069341c8652680d63c174530fd4feb2911e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 25 19:27:56 2020 +0200
patch 8.2.1054: not so easy to pass a lua function to Vim
Problem: Not so easy to pass a lua function to Vim.
Solution: Convert a Lua function and closure to a Vim funcref. (Prabir
Shrestha, closes #6246)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Thu, 25 Jun 2020 19:30:21 +0200 |
parents |
bceeded72898 |
children |
e2e2cc5d0856 |
rev |
line source |
19180
|
1 " This source file is part of the Swift.org open source project
|
|
2 "
|
|
3 " Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
|
|
4 " Licensed under Apache License v2.0 with Runtime Library Exception
|
|
5 "
|
|
6 " See https://swift.org/LICENSE.txt for license information
|
|
7 " See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
8 "
|
|
9 " Vim maintainer: Emir SARI <bitigchi@me.com>
|
|
10
|
|
11 setlocal comments=s1:/*,mb:*,ex:*/,:///,://
|
|
12 setlocal expandtab
|
19721
|
13 setlocal sw=4 sts=4
|
19180
|
14 setlocal smartindent
|