From 303b3f1b434f26f936c241789c84dca6e2f50df2 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 6 Dec 2015 11:31:38 +0100 Subject: Update all bundles --- ftplugin/swift.vim | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ftplugin/swift.vim (limited to 'ftplugin/swift.vim') diff --git a/ftplugin/swift.vim b/ftplugin/swift.vim new file mode 100644 index 00000000..f24535e2 --- /dev/null +++ b/ftplugin/swift.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'swift') == -1 + +setlocal commentstring=//\ %s +" @-@ adds the literal @ to iskeyword for @IBAction and similar +setlocal iskeyword+=@-@,# +setlocal completefunc=syntaxcomplete#Complete + +endif -- cgit v1.2.3