aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/swift.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-01 22:09:13 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-01 23:19:57 -0400
commitdd2bc06411a69917c6f4a47d0b6832104efa98e4 (patch)
tree45224b63ba9c145f7cef7bb74a0081d467017eca /runtime/ftplugin/swift.vim
parentc1dd4e83b494d19a5ebcb7ffb936cb4649f11637 (diff)
downloadrneovim-dd2bc06411a69917c6f4a47d0b6832104efa98e4.tar.gz
rneovim-dd2bc06411a69917c6f4a47d0b6832104efa98e4.tar.bz2
rneovim-dd2bc06411a69917c6f4a47d0b6832104efa98e4.zip
vim-patch:82be4849eed0
Update runtime files. https://github.com/vim/vim/commit/82be4849eed0b8fbee45bc8da99b685ec89af59a
Diffstat (limited to 'runtime/ftplugin/swift.vim')
-rw-r--r--runtime/ftplugin/swift.vim11
1 files changed, 10 insertions, 1 deletions
diff --git a/runtime/ftplugin/swift.vim b/runtime/ftplugin/swift.vim
index 55678f8bfc..a86b782c22 100644
--- a/runtime/ftplugin/swift.vim
+++ b/runtime/ftplugin/swift.vim
@@ -6,7 +6,16 @@
" 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>
+" 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